Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-03-17 16:49:17


From: "John Maddock" <John_Maddock_at_[hidden]>

> Having just said that, I have a thought that possibly they can be tested
> for...(a type that isn't anything else)?

Can't you just partially specialize for <R ()>, <R (A)>, <R(A1, A2)> and so
on?

(you probably can't in bcc32, you'll have to go through add_pointer and then
detect function pointers, but it's doable... on MSVC there's no hope, but
it's not necessary anyway.)

This point is important because of the way you define "primary type
categories." A type is in one and only one primary category.

--
Peter Dimov
Multi Media Ltd.

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