How can I use char_traits algorithms with a custom iterator type?

68 Views Asked by At

I'd like to be able to use functions like std::char_traits<...>::length, compare, etc., but pass a custom iterator type instead of a pointer. Is this possible? And if not, is there a reason why this isn't supported in the standard?

0

There are 0 best solutions below