Edit

Share via


Compiler Error C2941

'class' : type-class-id redefined as a local 'item'

You can't use a generic or template class as an item.

This error is obsolete in Visual Studio 2022 and later versions.