Boost logo

Boost :

From: Joel de Guzman (djowel_at_[hidden])
Date: 2002-11-01 19:31:44


----- Original Message -----
From: "Rene Rivera" <grafik666_at_[hidden]>

> [2002-11-01] Arkadiy Vertleyb wrote:
>
> >Right, but then, how do you call it:
> >
> >object.getSomething<type>();
> >or
> >object.getSomething((type*)0);
> >
> >I wasn't able to use the first syntax, although I was able to do similar
> >things with non-member functions.
>
> Yep, your are right... I looked at where I use it, and I use the ((type*)0)
> call also. It just happens that for me that's in another tmplate class, so I
> don't see the call directly.

There are other ways to eliminate the macros. I hope you
guys wouldn't just give up and say it can't be done.

Another comment is the tuple. I think boost tuples can be used.

Regards,
--Joel


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