NamedValueSet begin()/end() missing const keyword

I was trying to loop through a NamedValueSet like so…

for (const auto& namedValue : myNamedValueSet)

However the begin() and end() methods prevent me from doing so as they are not marked const. As it just calls the underlying Array begin() and end() methods they should probably also be marked inline and noexcept too.

Hmm, yes, looks like it could use some const versions there. Thanks, I’ll tidy that up a bit.

1 Like