Boost logo

Boost :

Subject: Re: [boost] [Review:Algorithms] is_ordered name
From: Andrew Sutton (asutton.list_at_[hidden])
Date: 2011-09-23 22:11:40


> 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.

Andrew


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