Boost logo

Boost Users :

From: scleary_at_[hidden]
Date: 2003-04-22 12:40:24


> -----Original Message-----
> From: Ben Hutchings [mailto:ben.hutchings_at_[hidden]]
>
> scleary_at_[hidden] wrote:
> > Sorry, Boost.Pool does not currently support MSVC, due to that
> compiler's
> > extreme lack of template support.
> <snip>
>
> For VC++ 6, all that should be needed is a _Charalloc function (instead
> of struct rebind) and a change to the type of deallocate's first
> parameter (to void *, which actually makes more sense).

The _Charalloc function requires each allocator to be able to allocate an
arbitrary amount of memory. This goes against the entire design of
Boost.Pool, and would be non-trivial (to say the least) to implement.

> The VC++ 7 compiler is good enough to support standard allocators and
> the library does use them. With the addition of a variable name and
> semi-colon, the given example can be compiled with this version.

Glad to hear it. Too bad it's not released yet.

        -Steve


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net