Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2005-02-15 06:27:56


Larry Evans wrote:
> On 02/15/2005 03:39 AM, Joel de Guzman wrote:
>
> I'm still not clear. Will there be a fusion::set<T1,T2>::insert
> of any type?

Close, but no. There will be an insert(s, k) function.

Will elements of type T1 and T2 be put in the
> same set using something like boost::any?

No. No type erasure here. The set will contain heterogenious
types. There will be no need for boost::any.

Perhaps mpl::set will make it clear?
http://www.boost.org/libs/mpl/doc/refmanual/set.html

I will try to follow MPL's interface, using functions
instead of metafunctions.

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