JUCE std::map?


#1

Where’s the JUCE version of std::map? I need a sorted map… HashMap ain’t it!


#2

I’ve always just used the real std::map when I needed that!


#3

Is it available, the same way on every platform, where JUCE is supported?


#4

Can’t say for certain, but I’d certainly expect it to be.


#5

Okay let me ask you a different question. Would YOU use std::map in the implementation of any JUCE classes?


#6

Well, I’d probably try to avoid using it in the library, just because it’d add another external dependency. But nowadays you can be pretty much certain that 99.9% of people will have access to a decent std library that contains it, so it shouldn’t be a problem. It was only ever the old VC6 crowd who had non-standard libraries.