Formally make TinyXML-2 C++ 11
- update code
- update build
Moving to C++11, could making all enums into enum class be considered, for improved type safety?
Can this open road to https://github.com/leethomason/tinyxml2/pull/1074 as it's also requires C++ 11?
Moving to C++11, could making all
enums intoenum classbe considered, for improved type safety?
Good catch - thanks!
Although enum class is a big change (potentially) for users of the library. Considering.
If the library is going to be updated to C++11, wouldn't that already mean users from C++03 and lower would need to modernise?
Additionally, could full use of constexpr be considered for replacing const constants and macros?