Home
last modified time | relevance | path

Searched refs:NTMove (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp50 struct NTMove { struct
51 constexpr NTMove(int v) : value(v) {} in NTMove() argument
52 NTMove(const NTMove &) = delete;
53 NTMove(NTMove &&that) : value(that.value) { that.value = -1; } in NTMove() function
57 static_assert(!std::is_trivially_move_constructible<NTMove>::value, ""); argument
58 static_assert(std::is_move_constructible<NTMove>::value, "");
150 using V = std::variant<int, NTMove>; in test_move_ctor_sfinae()