Hi evangineer,
Yes you are correct! We have cbegin()/cend() APIs but to support range based for over const values we need to add a const overload for begin/end. For our next 1.5 release we actually have some changes planned to help improve performance and easier iteration over json values. I'll make sure we work in both non-const and const range based for loops.
Thanks for taking the time to report the issue.
Steve
Yes you are correct! We have cbegin()/cend() APIs but to support range based for over const values we need to add a const overload for begin/end. For our next 1.5 release we actually have some changes planned to help improve performance and easier iteration over json values. I'll make sure we work in both non-const and const range based for loops.
Thanks for taking the time to report the issue.
Steve