Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-10-08 03:39:49


"Aleksey Gurtovoy" <agurtovoy_at_[hidden]> wrote in message
news:4034600A4760D411B8720001031D84FB010964A9_at_postoffice.office.meta...
> [...]
> Actually, here is a curious GCC feature:
> [...]
> // here:
> typedef her<int>::type<long>::type t2; // t2 == long!

Yes, that is curious. What will those gcc guys think of next!

> [...]
> By template class introspection via template template parameters and
> partial specialization:
> [...]

Ahh...now I see it. I guess I don't want to ask how it works without TTP,
though my guess is that rebind<> has something to do with it. Thanks for
the explanation.

Dave


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