[Boost-bugs] [Boost C++ Libraries] #6803: allocator_traits template aliasing statement breaks clang

Subject: [Boost-bugs] [Boost C++ Libraries] #6803: allocator_traits template aliasing statement breaks clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-17 00:45:59


#6803: allocator_traits template aliasing statement breaks clang
------------------------------+---------------------------------------------
 Reporter: expaler | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 In the header file <boost/container/allocator/allocator_traits.hpp>, line
 167 reads:

 '''
          template <typename T> using rebind_alloc =
 boost::intrusive::detail::type_rebinder<Alloc, T>::type;
 '''

 Changing it to the following line works:

 '''
          template <typename T> using rebind_alloc = typename
 boost::intrusive::detail::type_rebinder<Alloc, T>::type;
 '''

 HTH,
 Cromwell D. Enage

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6803>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC