Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2002-11-11 13:48:47

Hi All!

Suppose I'm writing some generic piece of numeric code that can be
instantiated with a User Defined Type (UDT).
And further suppose that I need to detect whether the generic numeric type
represents either integer or floating point values.
Can I use type_traits is_integral<> (or is_float<>)? That is, is the user
allowed to provide her own specializations of this templates?
If not, how should I let the user tell whether her numeric UDT is


Fernando Cacciola

Boost list run by bdawes at, gregod at, cpdaniel at, john at