Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2001-03-17 09:32:22


John Maddock wrote on 3/17/01 7:14 AM

> Unfortunately there is no way of testing
>for them - at least not that is generic - they're also types that should
>never be seen in practice, although I accept that there is some template
>code that can deduce a function type as a template parameter.
>
>Having just said that, I have a thought that possibly they can be tested
>for...(a type that isn't anything else)?

I've been pondering the same thing. But isn't "testing for a type that
isn't anything else" the algorithm currently used for is_class? I may be
a version or two behind. I'm looking at:

http://www.boost.org/boost/detail/type_traits.hpp

btw John, really nice job on this lib!

-Howard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk