I need to override only the length function from std :: basic_string, because it is not suitable for a custom char type on a specific platform. This is the current declaration for, say, CustomString
typedef STL::basic_string<CustomChar, STL::char_traits<CustomChar>, STL::allocator<CustomChar> > CustomString;
I need a class that behaves like a CustomString, but with a modified length function.
source share