A const version of TiXmlHandle
Brought to you by:
leethomason
Many C++ programmers make parameters, etc., const when they are expected to not be modified. Unfortunately, doing this currently means that you cannot use the TiXmlHandle class to eliminate switching blocks.
This could be solved by either creating a nearly-identical copy of TiXmlHandle that takes a const TiXmlNode* instead, but a better solution might be to make TiXmlHandle a template that operates on any type with the various methods used.
I second this feature request, const-casting around this is ugly and not the safest thing to do.