std::bind vs ::bind ambiguity
Jonathan Wakely
jwakely.gcc@gmail.com
Thu Mar 31 20:26:00 GMT 2011
On 31 March 2011 21:13, Paolo Carlini wrote:
> Hi,
>
>> Any objections?
>
> I believe to understand the issue and indeed have no serious objections, only, here - as in other similar cases for sure! - I'm a bit unsure about the correct constraining: should we require, for example pointer or class type?!? If I keep in mind the famous 'do the right thing' in the containers, for example, it seems to me that we are moving from integer types as the most important class of types we want minimally to reject in C++03, to something wider and more accurate in C++0x.
I think we could constrain it more thoroughly, I was only looking at
doing the minimum that I was sure about. Integer types are definitely
not callable, I didn't think carefully about what other constraints
would be safe.
More information about the Libstdc++
mailing list