Sequoia
|
class template for plugging into the checker class template to provide allocation checks for move-only types, see here. More...
#include <MoveOnlyTestCore.hpp>
Public Member Functions | |
template<moveonly T, class U , class V , class Self > requires checkable_against_for_semantics<Mode, T, U> && checkable_against_for_semantics<Mode, T, V> | |
bool | check_semantics (this Self &self, const reporter &description, T &&x, T &&y, const U &xEquivalent, const U &yEquivalent, const V &movedFromPostConstruction, const V &movedFromPostAssignment) |
template<moveonly T, class U , class Self > requires checkable_against_for_semantics<Mode, T, U> | |
bool | check_semantics (this Self &self, const reporter &description, T &&x, T &&y, const U &xEquivalent, const U &yEquivalent) |
template<std::regular_invocable xMaker, moveonly T = std::invoke_result_t<xMaker>, regular_invocable_r< T > yMaker, class U , class Self > requires checkable_against_for_semantics<Mode, T, U> | |
bool | check_semantics (this Self &self, const reporter &description, xMaker xFn, yMaker yFn, const U &movedFromPostConstruction, const U &movedFromPostAssignment) |
Prerequisite: xMaker() != yMaker() | |
template<std::regular_invocable xMaker, moveonly T = std::invoke_result_t<xMaker>, regular_invocable_r< T > yMaker, class Self > | |
bool | check_semantics (this Self &self, const reporter &description, xMaker xFn, yMaker yFn) |
Prerequisite: xMaker() != yMaker() | |
template<moveonly T, class U , class V , class Self > requires std::totally_ordered<T> && checkable_against_for_semantics<Mode, T, U> && checkable_against_for_semantics<Mode, T, V> | |
bool | check_semantics (this Self &self, const reporter &description, T &&x, T &&y, const U &xEquivalent, const U &yEquivalent, const V &movedFromPostConstruction, const V &movedFromPostAssignment, std::weak_ordering order) |
template<moveonly T, class U , class Self > requires std::totally_ordered<T> && checkable_against_for_semantics<Mode, T, U> | |
bool | check_semantics (this Self &self, const reporter &description, T &&x, T &&y, const U &xEquivalent, const U &yEquivalent, std::weak_ordering order) |
template<std::regular_invocable xMaker, moveonly T = std::invoke_result_t<xMaker>, regular_invocable_r< T > yMaker, class U , class Self > requires std::totally_ordered<T> && checkable_against_for_semantics<Mode, T, U> | |
bool | check_semantics (this Self &self, const reporter &description, xMaker xFn, yMaker yFn, const U &movedFromPostConstruction, const U &movedFromPostAssignment, std::weak_ordering order) |
template<class Self , std::regular_invocable xMaker, moveonly T = std::invoke_result_t<xMaker>, regular_invocable_r< T > yMaker> requires std::totally_ordered<T> | |
bool | check_semantics (this Self &self, const reporter &description, xMaker xFn, yMaker yFn, std::weak_ordering order) |
Prerequisite: xMaker() != yMaker(), with values consistent with order. | |
Static Public Attributes | |
static constexpr test_mode | mode {Mode} |
Protected Member Functions | |
move_only_extender (move_only_extender &&) noexcept=default | |
move_only_extender & | operator= (move_only_extender &&) noexcept=default |
class template for plugging into the checker class template to provide allocation checks for move-only types, see here.
|
inline |
Prerequisites: x != y x equivalent to xEquivalent y equivalent to yEquivalent
|
inline |
Prerequisites: x != y x equivalent to xEquivalent y equivalent to yEquivalent
|
inline |
Prerequisites: x != y, with values consistent with order x equivalent to xEquivalent y equivalent to yEquivalent
|
inline |
Prerequisites: x != y, with values consistent with order x equivalent to xEquivalent y equivalent to yEquivalent
|
inline |
Prerequisites: x != y, with values consistent with order x equivalent to xEquivalent y equivalent to yEquivalent