7 #ifndef DOXYGEN_SHOULD_SKIP_THIS 26 : m_ptr(std::addressof(ref))
39 Ref(
const Ref& other) noexcept =
default;
44 Ref& operator=(
const Ref& other) noexcept =
default;
51 T&
get()
const noexcept {
60 operator T& ()
const noexcept {
76 return std::addressof(lhs.get()) == std::addressof(rhs.get());
87 return std::addressof(lhs.get()) == std::addressof(rhs);
98 return std::addressof(lhs) == std::addressof(rhs.get());
101 #ifndef DOXYGEN_SHOULD_SKIP_THIS
constexpr bool operator==(const T &lhs, Ref< T > rhs) noexcept
Referece comparison.
Definition: Ref.h:97
The namespace for gf classes.
Definition: Action.h:35
constexpr bool operator==(Ref< T > lhs, const T &rhs) noexcept
Referece comparison.
Definition: Ref.h:86
constexpr bool operator==(Ref< T > lhs, Ref< T > rhs) noexcept
Referece comparison.
Definition: Ref.h:75
A reference wrapper.
Definition: Ref.h:18
Ref(T &ref) noexcept
Constructor with a lvalue reference.
Definition: Ref.h:25