24 Mar
2007
24 Mar
'07
3:58 a.m.
on Fri Mar 23 2007, David Abrahams
From scratch (untested):
And now, just by inspection...
template
struct erase_first { typedef typename mpl::find ::type i; typedef typename eval_if< boost::is_same
^::type
, mpl::identity<Seq> , mpl::erase
>::type type; }; HTH,
HTH-ly y'rs, -- Dave Abrahams Boost Consulting www.boost-consulting.com