23 Aug
2008
23 Aug
'08
1:57 a.m.
on Fri Aug 22 2008, "joel falcou"
I managed to get this :
template
struct switch_ { typedef typename find_if,T> >::type iter_; typedef typename deref ::type pair_; typedef typename second ::type f_; typedef typename apply1< f_, T>::type type; }; working properly. Seems the current swich_ use lambda<> where it shouldn't. Is this a known bug or is there something bound to replace switch_ in the near future ? SHould I fill a trac ticket about this ?
yes -- Dave Abrahams BoostPro Computing http://www.boostpro.com