From 6052502053618671225
X-Google-Thread: f78e5,574518e5c7a60feb
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 17 Sep 2005 12:20:10 -0500
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Delivered-To: std-c++@ucar.edu
From: "Lance Diduck" <lancediduck@nyc.rr.com>
Newsgroups: comp.std.c++
Subject: Re: Revised Allocator Proposal
Organization: http://groups.google.com
Message-ID: <1126970596.127490.145340@g43g2000cwa.googlegroups.com>
References: <fi2ge197lm9ttsmhb4r8v9cfjdmdq2joao@4ax.com>
   <hinnant-A468D2.15021328072005@syrcnyrdrs-03-ge0.nyroc.rr.com>
   <kibje1dvqt54imt1gfmli3a7j8d0top4u8@4ax.com>
   <hinnant-225EEE.18312429072005@syrcnyrdrs-01-ge0.nyroc.rr.com>
   <9pchf11o63qib8h56fap5g5445gjac5ce2@4ax.com>
   <hinnant-646468.14484310082005@syrcnyrdrs-02-ge0.nyroc.rr.com>
   <nto2g1ln0inkroka8sl0ija176ujc3hth0@4ax.com>
   <pan.2005.08.17.20.25.52.202380@marlowa.plus.com>
   <1124790086.351633.74880@g14g2000cwa.googlegroups.com>
   <48sch1lclsrtqr6tcgfns9jinmo1ecmdsb@4ax.com>
   <1125769160.339942.74620@g43g2000cwa.googlegroups.com>
   <1125966317.943812.24180@o13g2000cwo.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Complaints-To: groups-abuse@google.com
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g43g2000cwa.googlegroups.com; posting-host=66.65.46.98;
   posting-account=3mYY3wwAAADRamnjcYfRKWdoFpb0mshK
X-Greylisting: NO DELAY (Relay+Sender autoqualified);
	processed by UCSD_GL-v2.1 on mailbox4.ucsd.edu;
	Sat, 17 September 2005 08:23:24 -0700 (PDT)
X-Spamscanner: mailbox4.ucsd.edu  (v1.6 Aug  4 2005 15:27:38, -2.8/5.0 3.0.4)
X-MailScanner: PASSED (v1.2.8 68680 j8HFNNBj078975 mailbox4.ucsd.edu)
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
Date: Sat, 17 Sep 2005 12:12:19 CST
Lines: 15
NNTP-Posting-Host: 65.182.171.162
X-Trace: sv3-0rQvZn9k5WkI/UHeRGBkEx1G1qFVa23n5bh1NgZCxJdIo058hsrv1lKLaf8imfIAfy3IHGV9LO6Olf0!DGS8TIrorIff6C8VmfBoW+M00RIQA2f4IGidto44vQoDDHbm9V2Jl2J90c/7KJyYvUshfPG66LMs!P2NVgc5HnCoEj9TlJg2tm9hQixkI8qsT5fTUCAajX18=
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: abuse@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
Xref: g2news1.google.com comp.std.c++:2146

Such an adapter would look like this at least for sequence containers

Of course this code can be made faster, easier to use, etc etc etc but
it demonstrates that the major ideas found in the proposal can be done
using existing STL implementations. The only standard change that would
be requireed it to make "Lakos Allocator Semantics" the default. They
are readily available as an option.
http://www.lancediduck.com/papers/Cpp/StatefulSTL2.pdf

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



