📈
juce-cookbook
search
⌘Ctrlk
📈
juce-cookbook
  • Introduction
  • Getting Started
  • C++
    • IDE
    • Tools
    • Resources
  • Setup
  • Coding
  • Testing
  • Continuous Integration
  • Wish List
  • What's next
  • License
gitbookPowered by GitBook
block-quoteOn this pagechevron-down

C++

To use all of the latest JUCE features you should at least use C++14 as your standard. Any newer standard works as well.

hashtag
Idioms

If the list of idioms & language features below seems familiar to you, you're at a great starting point. If not, I have provided some resources below.

  • Composition

  • Inheritance

    • virtual / override / final

    • CppCon 2017: Louis Dionne “Runtime Polymorphism: Back to the Basics”arrow-up-right

  • Lambdas

    • CppCon 2019: Arthur O'Dwyer “Back to Basics: Lambdas from Scratch”arrow-up-right

  • RAII

    • CppCon 2019: Arthur O'Dwyer “Back to Basics: RAII and the Rule of Zero”arrow-up-right

  • Constexpr

    • CppCon 2015: Scott Schurr “constexpr: Introduction”arrow-up-right

    • CppCon 2015: Scott Schurr “constexpr: Applications"arrow-up-right

  • Atomic/Lock

    • CppCon 2019: Rainer Grimm “Atomics, Locks, and Tasks (part 1 of 2)”arrow-up-right

    • CppCon 2019: Rainer Grimm “Atomics, Locks, and Tasks (part 2 of 2)”arrow-up-right

  • Smart Pointer (unique & shared)

    • CppCon 2019: Arthur O'Dwyer “Back to Basics: Smart Pointers”arrow-up-right

  • Exceptions:

    • CppCon 2019: Ben Saks “Back to Basics: Exception Handling and Exception Safety”arrow-up-right

  • Where possible: noexcept/const

    • CppCon 2019: Dan Saks “Back to Basics: Const as a Promise”arrow-up-right

  • Container

    • array

    • vector

    • map

PreviousResourceschevron-leftNextIDEchevron-right

Last updated 5 years ago