Boost logo

Boost Users :

Subject: Re: [Boost-users] [Container] C++03 scoped_allocator_adaptor support
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2012-02-06 17:54:41


El 06/02/2012 18:53, Jensen, Erik A escribió:
> I am developing a project in Visual Studio 2010, which does not support
> variadic templates. (It does support rvalue references.)
>
> One aspect of my project could benefit greatly from scoped allocator
> support, so I checked out the 1.49 beta. While the implementation of
> allocator_traits supports C++03, the scoped_allocator_adaptor
> implementation requires variadic templates. Is there any plan to make
> the scoped_allocator_adaptor implementation support C++03? If not, what
> is the best way to use the new allocator_traits functionality to make
> sure that the allocator gets passed to contained containers?

Yes, there is a plan to write C++03 compatible scoped_allocator_adaptor,
I hope I can find time to write it for Boost 1.50, but I found it to be
non-trivial, specially as I'm not very good with preprocessor programming.

Best,

Ion


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