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