Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Error C2957

Error Message

'delim' : invalid left delimiter : expected '<'

A generic class was ill formed.

The following sample generates C2957:

// C2957.cpp
// compile with: /clr /LD
generic << class T>   // C2957
// try the following line instead
// generic < class T>
gc class C {};

Community Additions

© 2014 Microsoft. All rights reserved.