Simplify _Bind<_Functor(_Bound_args...)> even more?

Daniel Frey d.frey@gmx.de
Mon Jan 18 08:20:00 GMT 2010


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...

(BTW: Will apply for the copyright assignment soon)

Regards, Daniel

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
-------------- next part --------------
A non-text attachment was scrubbed...
Name: function.patch
Type: text/x-patch
Size: 4069 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20100118/993a3065/attachment.bin>


More information about the Libstdc++ mailing list