Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Daniel Krügler<daniel.kruegler@googlemail.com> |
| Newsgroups | comp.std.c++ |
| Subject | Re: Defect Report: wstring_convert methods do not take allocator instance |
| Date | Wed, 19 Dec 2012 14:19:48 -0800 (PST) |
| Organization | A noiseless patient Spider |
| Lines | 23 |
| Sender | std-cpp-request@vandevoorde.com |
| Approved | stephen.clamage@oracle.com |
| Message-ID | <kaqq1e$lu5$1@dont-email.me> (permalink) |
| References | <b32d3620-7c85-4e7b-a4fa-92d3350861d7@googlegroups.com> |
| NNTP-Posting-Host | +4tcsGMgka9p78FvGPi5wAbxrOLeTgHYe/u6Z4ndrU0= |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| X-Trace | news.albasani.net n53sRc0N6kMGyprtu4wUziURInv1CZfl/9NHIyPEOfF8lqLohZy/Txg+DyXy796XmqMtDszMV31Tw43EKUHtbA== |
| X-Complaints-To | abuse@albasani.net |
| NNTP-Posting-Date | Wed, 19 Dec 2012 22:19:02 +0000 (UTC) |
| X-Mailer | Perl5 Mail::Internet v2.05 |
| X-Submission-Address | std-cpp-submit@vandevoorde.com |
| Cancel-Lock | sha1:mPwKhbZ9QUuI3V1tHBzBcm42xJI= |
| X-Original-Date | Tue, 18 Dec 2012 23:17:19 +0100 |
| Xref | csiph.com comp.std.c++:576 |
Show key headers only | View raw
Am 14.12.2012 18:10, schrieb Glen Fernandes: > The wstring_convert class template, described in 22.3.3.2.2 [conversions.string], does not support custom stateful allocators. It only supports custom stateless allocators. > > The to_bytes member function returns basic_string<char, char_traits<char>, Byte_alloc> but it does not take an instance of Byte_alloc to pass to the constructor of the basic_string. > > Similarly the from_bytes member function returns basic_string<Elem, char_traits<Elem>, Wide_alloc> but it does not take an instance of Wide_alloc to pass to the constructor of the basic_string. > > This makes these two member functions and the wstring_convert class template not usable when Wide_alloc or Byte_alloc are stateful allocators. The report has been forwarded to the Library Working Group. Greetings from Bremen, Daniel Krügler -- [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
Back to comp.std.c++ | Previous | Next — Previous in thread | Find similar
Defect Report: wstring_convert methods do not take allocator instance Glen Fernandes<glen.fernandes@googlemail.com> - 2012-12-14 09:10 -0800 Re: Defect Report: wstring_convert methods do not take allocator instance Daniel Krügler<daniel.kruegler@googlemail.com> - 2012-12-19 14:19 -0800
csiph-web