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

References

unittests/ADT/OptionalTest.cpp
  225   A.emplace(1, 2);
  226   EXPECT_TRUE(A.hasValue());
  227   EXPECT_EQ(1, A->x);
  228   EXPECT_EQ(2, A->y);
  231   A.emplace(5, false);
  232   EXPECT_TRUE(A.hasValue());
  233   EXPECT_EQ(5, A->x);
  234   EXPECT_EQ(-5, A->y);