[Container] C++03 scoped_allocator_adaptor support

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? Thank you, Erik Jensen

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
participants (2)
-
Ion Gaztañaga
-
Jensen, Erik A