Mostro subito il mio problema:

codice:
public ref class Classe{
    public:

    void function(){
      Classe^ temp;
      Classe^ temp2;
      if (temp == temp2){ // // Errore: '==' illegal for struct
        temp=temp2; // NESSUN ERRORE
      };       
    }
}