Compiler Error C3400
circular constraint dependency involving 'constraint_1' and 'constraint_2'
The compiler detected circular constraints.
For more information, see Constraints on Generic Type Parameters (C++/CLI).
Example
The following sample generates C3400.
// C3400.cpp
// compile with: /clr /c
generic<class T, class U>
where T : U
where U : T // C3400
public ref struct R {};
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre