Lines Matching refs:Immovable
408 struct Immovable { struct
412 explicit Immovable(int val) : val(val) { in Immovable() argument
415 ~Immovable() { in ~Immovable() argument
424 Immovable(Immovable&& other) = delete;
427 unsigned Immovable::Constructions = 0;
428 unsigned Immovable::Destructions = 0;
430 static_assert(!std::is_trivially_copyable<Optional<Immovable>>::value,
434 Optional<Immovable> A; in TEST()
435 Immovable::ResetCounts(); in TEST()
439 EXPECT_EQ(1u, Immovable::Constructions); in TEST()
440 EXPECT_EQ(0u, Immovable::Destructions); in TEST()
444 Immovable::ResetCounts(); in TEST()
445 Optional<Immovable> A{in_place, 4}; in TEST()
448 EXPECT_EQ(1u, Immovable::Constructions); in TEST()
449 EXPECT_EQ(0u, Immovable::Destructions); in TEST()