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


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

Re: Inconsistencies about <scoped_allocator>

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From "Bo Persson" <bop@gmb.dk>
Newsgroups comp.std.c++
Subject Re: Inconsistencies about <scoped_allocator>
Date Mon, 5 Dec 2011 01:02:33 -0800 (PST)
Organization unknown
Lines 26
Sender std-cpp-request@vandevoorde.com
Approved james.dennett@gmail.com
Message-ID <9k1447FdauU1@mid.individual.net> (permalink)
References <071b8c59-6660-40b2-a936-d94fcde65bd6@w1g2000vba.googlegroups.com>
NNTP-Posting-Host lCYuQxhrrJytpDf1xYtictnaHikolFTf/OIR02amge4=
X-Trace news.albasani.net 9gGTp8W+aZMlmkpq0tPsRnD1pp8TWRIB9h6u0RrAWIRLbwUdS/gtVKOa+BkDDV2a5qXqkCTsZClqATtO2LCUTA==
X-Complaints-To abuse@albasani.net
NNTP-Posting-Date Mon, 5 Dec 2011 09:02:34 +0000 (UTC)
X-Mailer Perl5 Mail::Internet v2.05
X-Submission-Address std-cpp-submit@vandevoorde.com
Cancel-Lock sha1:aBFCllrOi+urAq+5ruwvlKJsA9A=
X-Original-Date Sun, 4 Dec 2011 12:33:40 +0100
Xref x330-a1.tempe.blueboxinc.net comp.std.c++:388

Show key headers only | 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