Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Pablo Halpern <phalpern@halpernwightsoftware.com> |
| Newsgroups | comp.std.c++ |
| Subject | Re: std::allocator_traits<std::allocator<T>>::propagate_on_container_move_assignment |
| Date | Thu, 1 Dec 2011 14:02:08 -0800 (PST) |
| Organization | http://groups.google.com |
| Lines | 48 |
| Sender | std-cpp-request@vandevoorde.com |
| Approved | james.dennett@gmail.com |
| Message-ID | <0e8e05c8-d8ef-4dd0-a3be-e1bbd1ac174d@r9g2000vbw.googlegroups.com> (permalink) |
| References | <c0e46bf3-1644-4478-b3cf-8c2208926e10@q35g2000prh.googlegroups.com> <c734e593-908f-42c5-a2fb-4f3af3704489@o5g2000yqa.googlegroups.com> <09678572-2f77-4c07-bfb3-3223aab5fe55@j36g2000prh.googlegroups.com> |
| NNTP-Posting-Host | rvqBPoko+tDpsfmJvDtErbmxZONxplzcwATLauPowis= |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | news.albasani.net z/NAN11HuUy2llMe5WLMYNQZW35o1Nk4wfvLfCa2yKBVHJQo2HKXFiX7oH6STkYPWvVbtU2QgZYSIqMnjkkQlQ== |
| X-Complaints-To | abuse@albasani.net |
| NNTP-Posting-Date | Thu, 1 Dec 2011 22:02:10 +0000 (UTC) |
| X-Mailer | Perl5 Mail::Internet v2.05 |
| X-Submission-Address | std-cpp-submit@vandevoorde.com |
| Cancel-Lock | sha1:V6PYgK6LeRHrnm2XKvBg/0TKtio= |
| X-Original-Date | Thu, 1 Dec 2011 11:21:18 -0800 (PST) |
| Xref | x330-a1.tempe.blueboxinc.net comp.std.c++:382 |
Show key headers only | View raw
This defect has been submitted as issue #2103 in the active issues list. Thanks for writing it up. -Pablo On Nov 8, 2:32 pm, Ai Azuma<ai.az...@gmail.com> wrote: > ===== beginning of the defect report ===== > > Affected section of the standard: > 20.6.9 [default.allocator] > > Description of the problem: > `std::allocator_traits<std::allocator<T>>::propagate_on_container_move_assignment::value' > is specified as `false', according to (20.6.9) and (20.6.8.1). > However, according to (23.2.1), this specification leads to > the unneeded requirements > (MoveInsertable and MoveAssignable of the value type) > on the move assignment operator of containers > with the default allocator. > > Proposed resolution: > Either of the following two changes; > > (1)adding the nested typedef like > `typedef std::true_type propagate_on_container_move_assignment;' > in the definition of std::allocator class template, > > (2)adding the explicit partial specialization of > `std::allocator_traits' class template for `std::allocator' > class template, in which `propagate_on_container_move_assignment' > nested typedef is specified as `std::true_type'. > > ===== end of the defect report ===== > > Thank you. > > -- > [ comp.std.c++ is moderated. To submit articles, try posting with your ] > [ newsreader. If that fails, use mailto:std-cpp-sub...@vandevoorde.com ] > [ --- Please see the FAQ before posting. --- ] > [ FAQ:http://www.comeaucomputing.com/csc/faq.html ] -- [ 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 | Unroll thread
std::allocator_traits<std::allocator<T>>::propagate_on_container_move_assignment Ai Azuma<ai.azuma@gmail.com> - 2011-11-02 11:16 -0700
Re: std::allocator_traits<std::allocator<T>>::propagate_on_container_move_assignment Pablo Halpern <phalpern@halpernwightsoftware.com> - 2011-11-03 17:10 -0700
Re: std::allocator_traits<std::allocator<T>>::propagate_on_container_move_assignment Ai Azuma<ai.azuma@gmail.com> - 2011-11-08 11:32 -0800
Re: std::allocator_traits<std::allocator<T>>::propagate_on_container_move_assignment Pablo Halpern <phalpern@halpernwightsoftware.com> - 2011-12-01 14:02 -0800
csiph-web