reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/PointerSumTypeTest.cpp
   28         b(SumType::create<Int1>(&i1)), c(SumType::create<Int2>(&i2)), n() {}
   66   EXPECT_EQ(&i2, c.get<Int2>());
   78   EXPECT_EQ(&i2, c.cast<Int2>());
   82   b = SumType::create<Int2>(&i2);
   85   EXPECT_EQ(&i2, b.get<Int2>());
   98   n = SumType::create<Int1>(&i2);
  101   EXPECT_EQ(&i2, n.get<Int1>());