Condividi tramite


Errore del compilatore C3233

'type': parametro di tipo generico già vincolato

Vincolare un parametro generico in più clausole where non è consentito.

L'esempio seguente genera l'errore C3233:

// C3233.cpp
// compile with: /clr /LD

interface struct C {};
interface struct D {};

generic <class T>
where T : C
where T : D
ref class E {};   // C3233