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: [v3] Simplify a tad _Bind<_Functor(_Bound_args...)>


HiJon,
> 2010/1/15 Paolo Carlini:
>   
>> Hi all, Jon,
>>
>> I'm thinking of simplifying a bit the recently introduced mechanism like
>> this. Can you imagine anything wrong with it? Passes regtesting, of course.
>>     
> I thought about doing that, but never tried it.  I think it should be
> OK (but if we have to revert <functional> then it's moot anyway.)
>   
It passes all my tests so far: if Jason can fix the damn serious issue
with class types, I think we should apply it.

If everything goes well, I also have in my tree: some trivial changes to
the overloads for volatile / const volatile which allow to enable the
code (just use consistently volatile and const volatile also when
passing around tuple<_Args...>); trivial changes int -> size_t in
various places indexing std::tuple (this changed since TR1), then a
check __i >= can also be removed, of course.

.... and we should add a *ton* of testcases.

Paolo.


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