🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2670

Re: STL allocator spec broken?

#2670
From: Jim Chapman
Date: Wed, 22 Nov 1995 02:43
23 lines
1603 bytes
In article pv2@boogie.cs.utexas.edu, wilson@cs.utexas.edu (Paul Wilson) writes:

> [...]
> As I understand it, ObjectSpace STL does support per-instance specification
> of allocators, although I'm unclear on the details and whether it actually
> works the way I'd like.
> [...]

I share your preference in this matter.  With the ObjectSpace STL, the
container class constructors take an optional allocator argument. I
find that this serves my purposes better than the allocator-as-template-
argument model.


---
 ====  AT&T        | Jim Chapman             |
=--=== Global      | Multimedia Projects     | jbc@ElSegundoCA.ATTGIS.COM
=--=== Information | 100 N. Sepulveda Blvd.  |   Voice: (310) 524-6747
 ====  Solutions   | El Segundo, CA 90245    |   FAX:   (310) 524-5515
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <48thqe$hma@rap.SanDiegoCA.ATTGIS.COM>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
References: <48leps$pv2@boogie.cs.utexas.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 22 Nov 95 02:43:40 GMT
Approved: fjh@cs.mu.oz.au
From: Jim Chapman <jbc@elsegundoca.attgis.com>
Newsgroups: comp.std.c++
Subject: Re: STL allocator spec broken?
X-Original-Date: 21 Nov 1995 21:54:22 GMT
Organization: AT&T Global Information Solutions
Message-ID: <48thqe$hma@rap.SanDiegoCA.ATTGIS.COM>
References: <48leps$pv2@boogie.cs.utexas.edu>
Reply-To: jbc@elsegundoca.attgis.com
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMLKOfOEDnX0m9pzZAQFyMQF/c/RD8p62glDLLGL0zSeNbU8ryOxuajl3
 UvDLIcjm78vgVc/AhrsvZcqg9BQIX6G2
 =C1+h