Aaron
Aaron

Reputation: 594

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

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?

Upvotes: 1

Views: 62

Answers (0)

Related Questions