Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2005-02-15 08:47:02


Larry Evans wrote:
> On 02/15/2005 05:12 AM, Joel de Guzman wrote:
>
> Is the above insert a non-member function with signature:
>
> template<typename T1, ...,typename Tn>
> void insert(fusion::set<T1,,,Tn>& s, Tk e);
>
> for some k in 1...n, and the above insert places element e
> in s?

Ehm...

Yes, it is a non-member function. No, it does not mutate s.
It does return another set. It is purely functional (no side-
effects).

Isn't the MPL doc clear enough?
http://www.boost.org/libs/mpl/doc/refmanual/set.html

Cheers,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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