Boost logo

Boost :

From: Ian Bruntlett (Ian.Bruntlett_at_[hidden])
Date: 2000-07-19 04:24:47


Lois Goldthwaite wrote...

> ... I can see this snippet of code in my future ...
>
> template <typename T>
> class type_generator {
> // ... meta-magic happens here
> typedef RET type;
> };
>
> template <typename Type>
> class some_other_class {
> typedef typename type_generator<Type>::type return_type;
> // ....
> };
>
> .... is it Friday yet???

Interesting. Could you give a rough example of its potential use?

Its Wednesday here and baking hot. You'll know its Friday when the storm
clouds gather...

Ian


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