27 #ifndef DOXYGEN_SHOULD_SKIP_THIS 46 : m_ptr(std::addressof(ref))
59 Ref(
const Ref& other) noexcept =
default;
64 Ref& operator=(
const Ref& other) noexcept =
default;
71 T&
get()
const noexcept {
80 operator T& ()
const noexcept {
96 return std::addressof(lhs.get()) == std::addressof(rhs.get());
107 return std::addressof(lhs.get()) == std::addressof(rhs);
118 return std::addressof(lhs) == std::addressof(rhs.get());
121 #ifndef DOXYGEN_SHOULD_SKIP_THIS
constexpr bool operator==(const T &lhs, Ref< T > rhs) noexcept
Referece comparison.
Definition: Ref.h:117
The namespace for gf classes.
Definition: Action.h:35
constexpr bool operator==(Ref< T > lhs, const T &rhs) noexcept
Referece comparison.
Definition: Ref.h:106
constexpr bool operator==(Ref< T > lhs, Ref< T > rhs) noexcept
Referece comparison.
Definition: Ref.h:95
A reference wrapper.
Definition: Ref.h:38
Ref(T &ref) noexcept
Constructor with a lvalue reference.
Definition: Ref.h:45