[c++0x] result_of
Jonathan Wakely
jwakely.gcc@gmail.com
Tue Sep 30 22:47:00 GMT 2008
2008/9/30 Chris Fairles:
>
> This is purely aesthetic, but I noticed that _S_fwd_arg() in
> _Result_of_util doesn't depend on the _Callee type and hence could in
> theory be moved into the 2 _Result_of_impl classes which would avoid
> the need for the template keyword to access it through _Result_of_util
the ugly template keyword is necessary because _S_fwd_arg() itself is
a function template, not because it's a member of a class template.
Moving it to the impl classes would duplicate it, without getting rid
of the template keyword.
Thanks for looking over the patch though, I was wondering if anyone
had seen it ;-)
Jon
More information about the Libstdc++
mailing list