Boost logo

Boost :

From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2007-10-01 02:18:41


On 9/30/07, Marco Costalba <mcostalba_at_[hidden]> wrote:
>
> Just one question. Is it possible, given a class T to deduce its
> implicit convrsions?
>
> As example
>
> class A {
> A();
> A(const A&) ;
> A(int);
> explicit A(double);
> };
>
> typedef implicit_conversions<A> implicits;
>
> where 'implicits' is, as example, fusion::vector<void, int, double, const A&>
>

I don't think there is even a facility in C++ which allows for even
static type introspection without querying for actual members of a
type. I might be wrong though.

-- 
Dean Michael C. Berris
Software Engineer, Friendster, Inc.
[http://cplusplus-soup.blogspot.com/]
[mikhailberis_at_[hidden]]
[+63 928 7291459]
[+1 408 4049523]

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