Boost logo

Boost Users :

Subject: [Boost-users] template type asserting
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2011-01-25 11:47:23


Hello,

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).

Thanks

Phil


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