25 Jan
2011
25 Jan
'11
4:58 p.m.
AMDG On 1/25/2011 8:47 AM, Kraus Philipp wrote:
I have written a template class and I would like tot "assert the type". My class should only use floating point types like double or float. Can I do this check with BOOST_STATIC_ASSERT or anything else? The class need not to use a "countable type" (math: in N).
Does boost::is_float in boost/type_traits/is_float.hpp work? In Christ, Steven Watanabe