Strings, streams & locale (C++11)
stoi/to_string, cbegin, code-conversion facets, Unicode support, money/time manipulators, stream positioning and iostream fixes.
Connected features
Papers
18 · Berlin 2006 → Batavia 2010Adds numeric_limits::max_digits10.
Adds cbegin/cend/crbegin/crend to containers.
Adds std::string overloads wherever the library only accepted const char*.
Adds the defaultfloat manipulator.
Adds get_money/put_money manipulators. Reworded; editor made manipulator descriptions uniform and intends to rewrite all manipulator descriptions in the next draft.
Adds minimal Unicode support to the library (u16string, u32string, codecvt specializations).
Specifies which headers <iostream> includes.
Adds wstring_convert and wbuffer_convert for code conversion.
Enhances the time_get facet for POSIX compatibility. Listed as applied in the report; the fetched portion of the Toronto minutes (truncated before the formal-motions section) does not show its motion.
Adds numeric_limits::lowest().
Adds get_time/put_time manipulators.
Adds the codecvt_utf8, codecvt_utf16 and codecvt_utf8_utf16 facets.
Adds stoi/stol/stod etc. and to_string/to_wstring.
Fixes stream positioning (seekg/tellg) and fpos.
Harmonizes the Effects and Returns elements in the strings clause.
Resolves NB US 114 so the small-string optimization is possible with swap (removes iterator-swap guarantees). Resolves US 114; report lists US 114 among the N3102 comments applied.
Fixes problems with bitmask types in the library.
Fixes assorted problems with iostream member functions.