Attached program (which is legal C++) triggers an unexpected error "error C2893: Failed to specialize function template 'std::vector<Op::result_type> g(Op,It1,It1,It2)'". Almost any change in the code will make it work: swap the order of the two overloads of 'g' or add a "using std::vector;", then delete all of the "std::", etc.
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...