Opened 6 years ago

Closed 5 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:


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

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by expaler

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

comment:2 Changed 5 years ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.