[llvm-bugs] [Bug 40270] std::basic_stringstream is not working with std::byte
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Jan 13 10:03:17 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40270
Marshall Clow (home) <mclow.lists at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #3 from Marshall Clow (home) <mclow.lists at gmail.com> ---
Billy O'Neil commented on twitter:
(https://twitter.com/MalwareMinigun/status/1083420061069496322)
and noted that http://eel.is/c++draft/iostreams.limits.pos#2 says:
In the classes of [input.output], a template parameter with name charT
represents a member of the set of types containing char, wchar_t, and any
other implementation-defined character types that satisfy the requirements for
a character on which any of the iostream components can be instantiated.
Since byte is not a character type
(http://eel.is/c++draft/basic.fundamental#7), so you don't get streams of
std::byte.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190113/a52c80c3/attachment.html>
More information about the llvm-bugs
mailing list