Changes between Version 1 and Version 2 of Ticket #12821
- Timestamp:
- Feb 8, 2017, 5:16:25 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12821 – Description
v1 v2 4 4 5 5 I want to reverse sort these two arrays so I do: 6 7 {{{ 6 8 auto const comparator( []( auto const & left, auto const & right ) noexcept { return left.first < right.first; } ); 7 9 auto const rightshift{ []( custom_iterator::reference const x, unsigned const offset ) noexcept { return x.first >> offset; } }; 8 10 11 }}} 12 9 13 ...but there is a crash in integer_sort in this case (if I do a 'normal' less-than compare, i.e. not a reversed sort) then it works...