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: [Patch] Use variadic templates for tr1::is_function


Paolo Carlini wrote:

Yes, that works fine, I know. Something I do *not* understand, however, is why this does not work, what is so different about it:

typedef int (F)(double);

std::result_of<F(double)>::type

Ok, maybe now I see, in the latter case would make sense only result_of<F>::type, not result_of<F(double)>::type...


Hummm...

Paolo.


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