16namespace sequoia::testing
28 : m_Index{std::exchange(other.m_Index, 0)}
33 m_Index = std::exchange(other.m_Index, 0);
38 int index()
const noexcept
46 template<
class Stream>
53 template<
class Stream>
63 template<
class T=
int,
class Allocator=std::allocator<
int>>
67 using allocator_type = Allocator;
87 std::ranges::swap(x, other.x);
91 noexcept(
noexcept(lhs.swap(rhs)))
96 std::vector<T, Allocator> x{};
101 template<
class Stream>
104 for(
auto i : b.x) s << i <<
' ';
109 template<
class T,
class Allocator>
112 template<
class T =
int,
class Allocator = std::allocator<
int>>
115 using value_type = T;
116 using allocator_type = Allocator;
127 : x{std::move(other.x)}
138 x = std::move(other.x);
146 std::ranges::swap(x, other.x);
150 noexcept(
noexcept(lhs.swap(rhs)))
155 std::vector<T, Allocator> x{};
160 template<
class Stream>
163 for(
const auto& i : b.x) s << i <<
'\n';
168 template<
class T,
class Allocator>
171 template<
class T=
int,
class Allocator=std::allocator<
int>>
174 using value_type = int;
175 using allocator_type = Allocator;
195 std::ranges::swap(x, other.x);
199 noexcept(
noexcept(lhs.swap(rhs)))
204 std::vector<T, Allocator> x{};
212 return lhs.x > rhs.x;
215 template<
class Stream>
218 for(
auto i : b.x) s << i <<
' ';
223 template<
class T,
class Allocator>
226 template<
class T=
int,
class Allocator=std::allocator<
int>>
229 using value_type = T;
230 using allocator_type = Allocator;
250 std::ranges::swap(x, other.x);
254 noexcept(
noexcept(lhs.swap(rhs)))
259 std::vector<T, Allocator> x{};
264 return lhs.x >= rhs.x;
270 template<
class Stream>
273 for(
auto i : b.x) s << i <<
' ';
278 template<
class T,
class Allocator>
281 template<
class T=
int,
class Allocator=std::allocator<
int>>
284 using value_type = T;
285 using allocator_type = Allocator;
305 std::ranges::swap(x, other.x);
309 noexcept(
noexcept(lhs.swap(rhs)))
314 std::vector<T, Allocator> x{};
319 return lhs.x < rhs.x;
325 template<
class Stream>
328 for(
auto i : b.x) s << i <<
' ';
333 template<
class T,
class Allocator>
336 template<
class T=
int,
class Allocator=std::allocator<
int>>
339 using value_type = T;
340 using allocator_type = Allocator;
360 std::ranges::swap(x, other.x);
364 noexcept(
noexcept(lhs.swap(rhs)))
369 std::vector<T, Allocator> x{};
374 return lhs.x <= rhs.x;
380 template<
class Stream>
383 for(
auto i : b.x) s << i <<
' ';
388 template<
class T,
class Allocator>
391 template<
class T=
int,
class Allocator=std::allocator<
int>>
394 using value_type = T;
395 using allocator_type = Allocator;
415 std::ranges::swap(x, other.x);
419 noexcept(
noexcept(lhs.swap(rhs)))
424 std::vector<T, Allocator> x{};
435 return lhs.x > rhs.x;
441 return lhs.x >= rhs.x;
447 return lhs.x < rhs.x;
453 return lhs.x <= rhs.x;
459 template<
class Stream>
462 for(
auto i : b.x) s << i <<
' ';
467 template<
class T,
class Allocator>
470 template<
class T=
int,
class Allocator=std::allocator<
int>>
473 using value_type = T;
474 using allocator_type = Allocator;
494 std::ranges::swap(x, other.x);
498 noexcept(
noexcept(lhs.swap(rhs)))
503 std::vector<T, Allocator> x{};
514 return lhs.x < rhs.x;
520 return lhs.x <= rhs.x;
526 return lhs.x > rhs.x;
532 return lhs.x >= rhs.x;
537 if(lhs < rhs)
return std::weak_ordering::greater;
539 if(rhs > lhs)
return std::weak_ordering::less;
541 return std::weak_ordering::equivalent;
544 template<
class Stream>
547 for(
auto i : b.x) s << i <<
' ';
552 template<
class T,
class Allocator>
Definition: OrderableMoveOnlyTestDiagnosticsUtilities.hpp:19
Definition: SemanticsTestDiagnosticsUtilities.hpp:20
Definition: OrderableMoveOnlyTestDiagnosticsUtilities.hpp:283
Definition: OrderableMoveOnlyTestDiagnosticsUtilities.hpp:338
Definition: OrderableMoveOnlyTestDiagnosticsUtilities.hpp:173
Definition: OrderableMoveOnlyTestDiagnosticsUtilities.hpp:228
Definition: OrderableMoveOnlyTestDiagnosticsUtilities.hpp:472
Definition: OrderableMoveOnlyTestDiagnosticsUtilities.hpp:393
Definition: OrderableMoveOnlyTestDiagnosticsUtilities.hpp:114
Definition: OrderableMoveOnlyTestDiagnosticsUtilities.hpp:65
class template, specializations of which implement various comparisons for the specified type.
Definition: FreeCheckers.hpp:78