Boost logo

Boost :

From: John Max Skaller (skaller_at_[hidden])
Date: 2001-05-07 11:58:49

Geurt Vos wrote:

> Concluding, IMO the low-level interface should go and only a high level
> interface should remain:
> function();
> function(functor)
> void set(functor)
> void clear();
> bool empty() const;
> operator()(...) // I mean several, not the ellipsis!
> I'm uncertain whether op== should be implemented...

        What about operator<? Without it,
you can't make a set of these things. :-)
Without ==, you can't use search on a vector.

        I have no idea what 'set, clear, empty' etc
might be for: functions can't be set, cleared,
or emptied. They should act like values, and be

        {Have I missed something deep here?]

John (Max) Skaller, mailto:skaller_at_[hidden]
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
checkout Vyper
download Interscript

Boost list run by bdawes at, gregod at, cpdaniel at, john at