Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c++ > #388

Re: Inconsistencies about <scoped_allocator>

From "Bo Persson" <bop@gmb.dk>
Newsgroups comp.std.c++
Subject Re: Inconsistencies about <scoped_allocator>
Date 2011-12-05 01:02 -0800
Organization unknown
Message-ID <9k1447FdauU1@mid.individual.net> (permalink)
References <071b8c59-6660-40b2-a936-d94fcde65bd6@w1g2000vba.googlegroups.com>

Show all headers | View raw


m0shbear wrote:
> This question refers to ISO 14882:2011.
> According to [allocator.adapter], there exists a header file
> <scoped_allocator>, which defines a template type
> scoped_allocator_adapter<typename OuterAlloc, typename ...
> InnerAlloc>.
> However, Table 14 in [headers] makes no such mention of this.
> Could I get an explanation on the apparent contradiction?

The scoped_allocator_adapter was proposed as an addition to the
<memory> header, where the std::allocator is defined.

It was not until very late in the process that it was moved to its own
header. Apparently it was forgotten to add this new header to Table
14. An oversight.


Bo Persson



--
[ 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 | NextPrevious in thread | Next in thread | Find similar


Thread

Inconsistencies about <scoped_allocator> m0shbear <andrey.vul@gmail.com> - 2011-12-04 02:23 -0800
  Re: Inconsistencies about <scoped_allocator> Daniel Krügler <daniel.kruegler@googlemail.com> - 2011-12-05 01:02 -0800
  Re: Inconsistencies about <scoped_allocator> "Bo Persson" <bop@gmb.dk> - 2011-12-05 01:02 -0800
  Re: Inconsistencies about <scoped_allocator> Pete Becker <pete@versatilecoding.com> - 2011-12-05 01:02 -0800
    Re: Inconsistencies about <scoped_allocator> m0shbear <andrey.vul@gmail.com> - 2011-12-09 23:53 -0800

csiph-web