|
Boost Users : |
From: Surya Kiran Gullapalli (skg_at_[hidden])
Date: 2005-10-27 03:50:03
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net