Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 1999-11-23 15:16:03

In addition to Michel's thorough summary here is a description of

    void deallocate(pointer p, size_type n);

Requires: p shall be a pointer value obtained from an allocator which
this Allocator is capable of deallocating. n shall equal the value
passed as the first argument to the invocation of allocate which returned
p (unless a specific instance of Allocator is known to relax that

Effects: Deallocates the storage referenced by p .

All n T objects in the area pointed by p must be destroyed prior to this


Valentin Bonnard wrote on 11/23/99 1:51 PM
>Frankly, this is a mess.
>Could you explain what each class represents, and especially
>what deallocate is expected to do (I am really completely lost) ?
>(no vague parallels ``it's like allocator'' -- I want definitions)
>Valentin Bonnard
>-- Easily schedule meetings and events using the group calendar!

Boost list run by bdawes at, gregod at, cpdaniel at, john at