Boost logo

Boost :

Subject: Re: [boost] [container][memory] Request to move allocator_arg_t and uses_allocator to a memory related file.
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2012-03-31 16:58:13


El 31/03/2012 15:47, Vicente J. Botet Escriba escribió:
> ../../../boost/container/allocator_traits.hpp:170:105: error: type name
> requires a specifier or qualifier
> template <typename T> using rebind_alloc =
> boost::intrusive::detail::type_rebinder<Alloc, T>::type;
>
> when compiling with clang 3.0 C++11
>
> Adding typename in
>
> #if !defined(BOOST_NO_TEMPLATE_ALIASES)
> //C++11
> template <typename T> using rebind_alloc = typename
> boost::intrusive::detail::type_rebinder<Alloc, T>::type;
>
> Solve the issue.
>
> I have checked it with clang 3.0 (c++11) and gcc-4.7.0 (c++11).
>
> Could you try to fix this?

Done, thanks.

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk