KnownPluginList Class isEmpty() Method?


#1

It seems to me that the KnowPluginList class needs an isEmpty() and/or isValid() method…or have I missed an obvious alternative?


#2

edit : ah scrap that, there’s no operator == in it…


#3

I’ve actually worked passed a need for the new methods in my current code. But for others, and for my own future code, I think that isEmpty() and/or isValid() will be useful additions to the KnownPlugiList class.


#4

Bump?


#5

Maybe mypluglist.begin()==nullptr?


#6

Sure, but to be consistent with other JUCE code, the inclusion of isEmpty() and/or isValid() would be more direct and readable.