This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Simplify _Bind<_Functor(_Bound_args...)> even more?
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Daniel Frey <d dot frey at gmx dot de>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 18 Jan 2010 11:11:17 +0100
- Subject: Re: Simplify _Bind<_Functor(_Bound_args...)> even more?
- References: <20100118082016.181620@gmx.net>
On 01/18/2010 09:20 AM, Daniel Frey wrote:
> If operator() already knows _Result, why not pass it to __call as the first template argument and save the double deduction and result_of instantiations? See the attached patch...
>
Indeed Daniel, I'm applying your patch after a final regtest. Thanks!
> (BTW: Will apply for the copyright assignment soon)
>
Good idea ;)
Paolo.