Index: transform_iterator_test.cpp =================================================================== --- transform_iterator_test.cpp (revision 68197) +++ transform_iterator_test.cpp (working copy) @@ -106,11 +106,12 @@ { //Implement result_of protocol template struct result; - template struct result {typedef T type;}; + template struct result {typedef T type;}; + template struct result {typedef T type;}; + template struct result {typedef T type;}; template - typename result::type - operator()(const T& _arg) const {return _arg*2;} + T operator()(const T& _arg) const {return _arg*2;} }; int