27 Oct
2005
27 Oct
'05
8:50 a.m.
Gennadiy Rozental wrote:
is there any way i can restrict the compiler to accept only few type names for my templated class (i.e., using standard c++ or boost)
I believe boost::enable_if is used for this purpose.
Gennadiy
I think, BOOST_STATIC_ASSERT is another way. Let me correct if i'm wrong. Thanks, Surya