
15 Feb
2005
15 Feb
'05
1:47 p.m.
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