Modify

Ticket #6803 (closed Bugs: fixed)

Opened 2 years ago

Last modified 22 months ago

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

Reported by: expaler Owned by: igaztanaga
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

Attachments

Change History

comment:1 Changed 2 years ago by expaler

  • Summary changed from allocator_traits template aliasing statement breaks clang to allocator_traits template aliasing statement breaks clang++ with -std=c++0x

comment:2 Changed 22 months ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.