Created on 2009-03-03.00:00:00 last changed 162 months ago
Proposed resolution:
Change [conversions.string]:
template<class Codecvt, class Elem = wchar_t, class Wide_alloc = std::allocator<Elem>, class Byte_alloc = std::allocator<char> > class wstring_convert { public: typedef std::basic_string<char, char_traits<char>, Byte_alloc> byte_string; typedef std::basic_string<Elem, char_traits<Elem>, Wide_alloc> wide_string; ...
Change [conversions.string], p3:
-3- The class template describes an ob ject that controls conversions between wide string ob jects of class std::basic_string<Elem, char_traits<Elem>, Wide_alloc> and byte string objects of class std::basic_string<char, char_traits<char>, Byte_alloc>
(also known as std::string).
[ Batavia (2009-05): ]
We agree with the proposed resolution. Move to Tentatively Ready.
Addresses JP-50 [CD1]
Add custom allocator parameter to wstring_convert, since we cannot allocate memory for strings from a custom allocator.
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
2010-10-21 18:28:33 | admin | set | messages: + msg4710 |
2010-10-21 18:28:33 | admin | set | messages: + msg4709 |
2009-03-03 00:00:00 | admin | create |