Boost logo

Boost Users :

From: Hicham Mouline (hicham_at_[hidden])
Date: 2008-02-29 08:23:54


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?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at