29 Mar
2011
29 Mar
'11
7:22 p.m.
Hi,
I'm trying to test an ArgumentPack for containment of a certain
parameter. Since an ArgumentPack is a valid MPL Sequence, I think
boost::mpl::contains should do the trick, but I fail to specify the
correct type. Consider the following
BOOST_PARAMETER_NAME(color);
template<class Opts>
void function_with_opts(const Opts &opts)
{
boost::mpl::contains