KeyValuePair<> in juce


Am I missing something or is there no juce class for generic pairs?

Went throught the API and all I could find was Point<> which has a unified type…


There’s NamedValueSet, which uses an Identifier (essentially a String) to key against any chosen type, but I don’t believe there’s a template allowing you to also specify the key type.

I see, thanks…

std::pair not good enough?