
Before I go writing a bunch of code... Is there a way to apply the parameters of an ArgumentPack individually to a function? What I need/want is to be able, through Boost.MPL, to apply each argument in the ArgumentPack to a single function based of the keyword type. For example: struct A { template <typename Keyword, typename Value> void SetArgument( Value & v ); }; template <typename ArgPack> void setter( A & a, ArgPack & p ) { // for each arg in p: // a.SetArgument<arg::key_type>(arg.value) } Or equivalent thereof, without knowing ahead of time what the possible argument keywords and values are. I did some minor looking in the parameter code but didn't see anything obvious that already does this. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org