Boost logo

Boost :

From: Dave Harris (brangdon_at_[hidden])
Date: 2002-05-15 13:17:21


In-Reply-To: <Pine.GSO.4.05.10205160011080.5723-100000_at_galois>
On Thu, 16 May 2002 00:18:41 +1000 (EST) Damien Fisher
(damien_at_[hidden]) wrote:
> I would like to see something like this in Boost:
>
> template<typename Container>
> bool is_single_element(const Container &cont);

Should it be defined for iterator pairs as well as, or instead of,
containers? Most algorithms work on iterators.

-- Dave Harris


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