|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2001-01-28 09:08:26
----- Original Message -----
From: "John Maddock" <John_Maddock_at_[hidden]>
> >...and the current implementation won't work if T is void.
> >I think we could get around this problem at the cost of a little extra
> >complexity... we can use "poor man's partial specialization" to dispatch
> to
> >a different implementation if T is void.
>
> Just a top-level full specialisation for void does the trick - that's what
> I'm using in the new version anyway....
Duh! Of course. I guess I was distracted by the special workaround required
for such 2-argument forms as is_same<T,U>
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk