Boost logo

Boost :

From: Jason Hise (chaos_at_[hidden])
Date: 2005-01-21 16:03:30


Angus Leeming wrote:

>The point of the article still holds, I think. You have your NULL class.
>Does it help here? Don't think so...
>
> void f(string *);
> void f(foo *);
> f(NULL);
>
What if there were a template version of null added? For instance:

void f ( int * );
void f ( char * );

f ( null<int> );

Would this solve the ambiguity, or is there something else that I am
missing?

-Jason


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