I just found out Urho now supports stl-compatible iterators for Vector and PODVector, so functions std::begin/end are implemented for those types.
As far as I know the only thing I need to use it is including ForEach.h from <Urho3D/Container/ForEach.h>, but doing so results in clang++ telling me there’s no proper implementation of begin and end for that kind of type (type is actually Vector<WeakPtr> (where MyComponent is a LogicComponent subclass). What am I doing wrong? Should I be doing anything else?
Also, I would like to avoid using the foreach macro, which I guess is still there to be compatible with older versions of the microsoft Visual C++ compiler, which is kind of its own beast. So as an offtopic question, is there a Windows compiler that properly implements the C++11 standard and isn’t tied to an IDE?