Boost logo

Boost :

Subject: Re: [boost] [Review:Algorithms] is_ordered name
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2011-09-23 22:54:18


On Sep 23, 2011, at 7:11 PM, Andrew Sutton wrote:

>> I spent a few moments trying to think of a noun that means "point at which
>> ordering stops". There probably is one that's better than "disorder". It's
>> not quite a "discontinuity", but maybe there is something like that from
>> maths. I also wondered about a more general word like "failure", since any
>> predicate can be passed. "find_ordering_failure" maybe? Or even just
>> "find_unordering" or "find_unorder". Any thoughts?
>
> Isn't this the same as the C++11 is_sorted_until?
>
> I think is_* should be a predicate. Unfortunate naming choice for the
> std, I think. find_sorted_until isn't terrible.

Yes, it is.

I too think that "is_sorted_until" is an awful name.

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk