Modify

Opened 5 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: 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 (0)

Change History (2)

comment:1 Changed 5 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 5 years ago by igaztanaga

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

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain igaztanaga.
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.