Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2001-09-19 12:58:32


on 9/19/01 10:58 AM, Beman Dawes at bdawes_at_[hidden] wrote:

> 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 [...]
>
> 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?

Seems like a good idea. Yes.

    -- Darin


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