Created on 2014-01-20.00:00:00 last changed 89 months ago
Proposed resolution:
Change 8.6.1 [path.io] as indicated:
template <class charT, class traits> basic_ostream<charT, traits>& operator<<(basic_ostream<charT, traits>& os, const path& p);Effects: os << quoted(p.string<charT, traits>()).
[Note: Pathnames containing spaces require special handling by the user to avoid truncation when read by the extractor. โ end note][Note: Thequoted
function is described in ISO 14882:2014 ยง27.7.6. โ end note] Returns: ostemplate <class charT, class traits> basic_istream<charT, traits>& operator>>(basic_istream<charT, traits>& is, path& p);Effects:
basic_string<charT, traits> tmp; is >> quoted(tmp); p = tmp;
[ 2014-02-12 Applied LWG/SG-3 Issaquah wording tweak to use ISO doc number for reference to C++14. ]
[ 2014-02-10, Daniel suggests wording ]
Addresses: filesys.ts
"[Note: Pathnames containing spaces require special handling by the user to avoid truncation when read by the extractor. โ end note]" sounds like a quoted manipulator as specified in the C++14 draft in [quoted.manip] would be useful.
Consider using quoted manipulators for stream insertion and extraction.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:10:41 | admin | set | status: wp -> open |
2016-01-28 01:00:35 | admin | set | messages: + msg7759 |
2016-01-28 01:00:35 | admin | set | messages: + msg7758 |
2016-01-28 01:00:35 | admin | set | messages: + msg7757 |
2014-01-20 00:00:00 | admin | create |