yfede
1
I vaguely remember having read that the C++ standard required for building JUCE is C++11 unless one uses the DSP module, for which C++14 is required.
-
Where do I find that information? I couldn’t find in the website any clear statement of the current requirements for developing with JUCE,
-
If what I remember is true, and C++11 should be sufficient, then I worried about the abundant usage of std::make_unique outside of the DSP module, because it seems to me that make_unique has been included in the standard only in C++14.
Each JUCE module can define its own C++ standard requirements using minimumCppStandard in its header. For instance in juce_dsp.h:
If it is not specified, it defaults to 11.
However you’re 100% right that JUCE effectively should require C++14, due to the usage of std::make_unique.
1 Like
ed95
3
There’s an implementation of std::make_unique() for pre-C++14:
3 Likes
yfede
4
Ah thanks for pointing out, I wasn’t aware of that