Ticket #3721 (closed Bugs: fixed)
list::sort() doesn't work if value traits are stateful
|Reported by:||anonymous||Owned by:||igaztanaga|
list::sort() uses temporary lists, constructed in this way:
list_impl carry; list_impl counter;
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