|
Boost : |
From: Greg Colvin (gcolvin_at_[hidden])
Date: 1999-11-24 20:43:00
23.1 Container requirements [lib.container.requirements]
...
8 Copy constructors for all container types defined in this clause copy
an allocator argument from their respective first parameters. All
other constructors for these container types take an Allocator&
argument (_lib.allocator.requirements_), an allocator whose value type
is the same as the container's value type. A copy of this argument is
used for any memory allocation performed, by these constructors and by
all member functions, during the lifetime of each container object.
In all container types defined in this clause, the member get_alloca-
tor() returns a copy of the Allocator object used to construct the
container.
----- Original Message -----
From: Valentin Bonnard <Bonnard.V_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, November 24, 1999 6:37 PM
Subject: [boost] Re: Allocators (Was: smart pointer delete parameterization)
Howard Hinnant wrote:
> In a std::container memory can not allocated be allocated by new.
They certainly can use new, but they morally should use the allocator.
-- Valentin Bonnard ------------------------------------------------------------------------ et the most popular downloads on the Web. They9re new! They9re hot! They're FREE! Utilities, drivers, games. It's all here. http://clickhere.egroups.com/click/1610 -- Check out your group's private Chat room -- http://www.egroups.com/ChatPage?listName=boost&m=1
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk