Opened 11 years ago

Closed 10 years ago

#6803 closed Bugs (fixed)

allocator_traits template aliasing statement breaks clang++ with -std=c++0x

Reported by: expaler Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

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

Change History (2)

comment:1 by expaler, 11 years ago

Summary: allocator_traits template aliasing statement breaks clangallocator_traits template aliasing statement breaks clang++ with -std=c++0x

comment:2 by Ion Gaztañaga, 10 years ago

Resolution: fixed
Status: newclosed

Thanks for the report, it was fixed in trunk at revision 77678.

Note: See TracTickets for help on using tickets.