Modify

Ticket #3721 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

list::sort() doesn't work if value traits are stateful

Reported by: anonymous Owned by: igaztanaga
Milestone: Boost 1.45.0 Component: intrusive
Version: Boost 1.41.0 Severity: Problem
Keywords: Cc:

Description

list::sort() uses temporary lists, constructed in this way:

list_impl carry; list_impl counter[64];

the list_impl constructor takes the value traits of the list as an optional argument, which must be passed in case the value traits are stateful.

I think it should be

list_impl carry(get_real_value_traits());

Attachments

Change History

comment:1 Changed 4 years ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from Boost 1.42.0 to Boost-1.45.0

Fixed for Boost 1.45 in release branch

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.