Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-09-19 12:58:05


At 12:41 PM 9/19/2001, Darin Adler wrote:

>If we think that:
>
> template<typename T> void f(const T&);
> template<typename T> void f(T*) { }
>
> int main()
> {
> int x = 0;
> f(&x);
> }
>
>should unambiguously use the second function template, then I think
someone
>needs to raise a new core language issue about it, or add a comment to
the
>discussion of issue 214. But I don't think that the existing issue 214
>covers it. (Nor does issue 200 or 250, for that matter.)

Would you like me to post the above (or similar) on the C++ committee's
core mailing list to get a reading from the committee?

--Beman


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