
29 Feb
2008
29 Feb
'08
1:23 p.m.
hi, I would like to avoid template instantiations with ContractType whose static functions st1 and st2 return an enum... template <typename ContractType> class C { BOOST_STATIC_ASSERT( !(ContractType::st1()==A && ContractType::st2()==P) ); ... }; Is there a way to make this work?