Consider the following piece of code:#include <functional>struct F{ float operator()(int i) const { return float(i); }};int main(){ typedef ::std::result_of<F(int)>::type RetType; return 0;}It fails to compile.This works fine with GCC 4.6. I know their implementation of result_of is different, but still... Also, GCC works both with and without "template" after "typedef"
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...