Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  TestNoPrincipalGetUri.cpp  Sprache: C


class nsIPrincipal {
public:
  void GetURI(int foo){};
};

class SomePrincipal : public nsIPrincipal {
public:
  void GetURI(int foo) {}
};

class NullPrincipal : public SomePrincipal {};

class SomeURI {
public:
  void GetURI(int foo) {}
};

void f() {
  nsIPrincipal *a = new SomePrincipal();
  a->GetURI(0); //  expected-error {{Principal->GetURI is deprecated and will be removed soon. Please consider using the new helper functions of nsIPrincipal}}

  ::nsIPrincipal *b = new NullPrincipal();
  b->GetURI(0); //  expected-error {{Principal->GetURI is deprecated and will be removed soon. Please consider using the new helper functions of nsIPrincipal}}

  SomeURI *c = new SomeURI();
  c->GetURI(0);

  SomePrincipal *d = new SomePrincipal();
  d->GetURI(0);

}

Messung
CHZG
8510010095

¤ Dauer der Verarbeitung: 0.4 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

letze Version des Elbe Quellennavigators


letze Version des Demonstrationsprogramms Goedel
letze Version des Bille Abgleichprogramms
Version

Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1,189,179
#Domains=946,202