Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/accessible/other/     Datei vom 27.6.2026 mit Größe 675 B image not shown  

SSL TestEmptyBases.cpp  Interaktion und
Portierbarkeitunbekannt

 
struct EmptyA{};
struct EmptyB{};
struct NonEmpty{
  int field;
};

#if defined(_MSC_VER)
#  define MOZ_EMPTY_BASES __declspec(empty_bases)
#else
#  define MOZ_EMPTY_BASES
#endif

struct MOZ_EMPTY_BASES Some : EmptyA, EmptyB {}; // no-error
struct Some0 : EmptyA, EmptyB {}; // expected-error {{Missing MOZ_EMPTY_BASES}}
struct Some1 : EmptyA, NonEmpty {}; // no-error
struct Some2 : EmptyA, EmptyB, NonEmpty {}; // expected-error {{Missing MOZ_EMPTY_BASES}}

Messung
CHZG
1001008896

[Verzeichnis aufwärts0.37unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-11-25]