Bug 78486 - feature request: std::iu16stringstream std::ou16stringstream, and utf8
Summary: feature request: std::iu16stringstream std::ou16stringstream, and utf8
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 6.2.0
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 88508 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-22 23:26 UTC by Jim Michaels
Modified: 2022-10-17 23:50 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Michaels 2016-11-22 23:26:06 UTC
std::iu32stringstream 
std::ou32stringstream, 
std::iu16stringstream 
std::ou16stringstream, 
std::iutf8stringstream
std::outf8stringstream

 have not been implemented in the string library.
most of that should be copy and paste. but they use wide characters, etc.
Comment 1 Andrew Pinski 2016-11-22 23:42:05 UTC
Do these exist in standard C++ at all?  If not then I doubt they will be added to the GCC's library.
Comment 2 Jonathan Wakely 2016-11-23 15:30:29 UTC
No they aren't part of the standard, but could be added as conforming extensions. They'd need support from char_traits specializations and facets, which is not just copy&paste.
Comment 3 Jim Michaels 2016-12-13 16:09:55 UTC
also,
u16strfuncs-nostr.cpp:612:3: error: 'u16out' is not a member of 'std'
   std::u16out<<u"{";

this got removed from iostream.
Comment 4 Jonathan Wakely 2016-12-13 16:37:26 UTC
That was never in <iostream> in the first place, so it can't have been removed.
Comment 5 Jim Michaels 2016-12-13 20:24:36 UTC
then add it.
Comment 6 Jonathan Wakely 2022-10-17 23:50:50 UTC
*** Bug 88508 has been marked as a duplicate of this bug. ***