This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: std::bind vs ::bind ambiguity


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]