I see a new Grid class in v5.1.2. But when I run the JuceDemo, the grid demo doesn’t show up.
Hunting around a bit, the Grid demo is in a #if JUCE_HAS_CONSTEXPR, which evaluates to false for me. I’m using g++ 6.3.0 in Ubuntu 17.04. From what I can tell, g++ does have support for constexpr, not sure why that is set to false.
What I am I missing to see the Grid demo? I’m especially curious to see the difference between Flex and Grid. The doxygen help is light on details with both of these relatively new classes.
I’d never heard of __cpp_constexpr before. Is it possible you’re checking that macro without also passing in the --c++11 option? That would explain why JUCE thinks g++ doesn’t support C++11.
thanks for the heads up about the Grid class. Very useful looking, I’ve been planning a grid layout keyboard for some time, obviously I was waiting for this class