Boost logo

Boost :

From: Terje Slettebø (tslettebo_at_[hidden])
Date: 2003-04-18 15:03:29


>From: "Paul Mensonides" <pmenso57_at_[hidden]>

> Terje Slettebø wrote:
>
> >> MACRO( IN(2, (std::pair<int, int>)) )
> >
> > I'm not sure how this latter solution could be used. How could MACRO
> > retrieve the type being passed?
>
> You have to encode the type in a structure, and then decode it when you
actually
> need it:

<snip>

Thaks for the explanation.

Regards,

Terje


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