Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • 1
    Maybe because of the character type template parameter? This function can have the same ("efficient") implementation for any character type by using the locale's widen. Commented Jul 7, 2015 at 17:07
  • 1
    Interesting topic. Might be a reason why what was discussed here doesn't work. Commented Jul 7, 2015 at 17:14
  • 1
    @dyp, that does not seem very convincing. Commented Jul 7, 2015 at 17:14
  • 3
    Well, right now for all streams we have an operator<< taking a charT and an operator<< taking a char. That's going to be tricky to do as members since charT can - and often is - char. Commented Jul 7, 2015 at 17:16
  • 3
    open-std.org/JTC1/SC22/WG21/docs/papers/1996/N0918.pdf Commented Jul 7, 2015 at 17:51