Compiler Error C2981

one or more missing '>' in template declaration

The compiler could not find a closing brace (>) for the template declaration. This can be caused by an expression with an ambiguous right-shift operator or an improperly expanded macro. The following code generates this error:

template <class T>> class D{};  // error