Skip to content

Class endstone::Nullable

template <class T>

ClassList > endstone > Nullable

Public Functions

Type Name
constexpr Nullable () noexcept
constexpr Nullable (std::nullptr_t) noexcept
Nullable (std::shared_ptr< T > ptr)
Nullable (const NotNull< T > & other)
const std::shared_ptr< T > & get () noexcept const
operator bool () noexcept const
bool operator!= (const Nullable &) const
bool operator!= (std::nullptr_t) noexcept const
T & operator* () noexcept const
T * operator-> () noexcept const
bool operator== (const Nullable &) const
bool operator== (std::nullptr_t) noexcept const

Public Functions Documentation

function Nullable [¼]

constexpr endstone::Nullable::Nullable () noexcept

function Nullable [2/4]

inline constexpr endstone::Nullable::Nullable (
    std::nullptr_t
) noexcept

function Nullable [¾]

inline endstone::Nullable::Nullable (
    std::shared_ptr< T > ptr
) 

function Nullable [4/4]

inline endstone::Nullable::Nullable (
    const  NotNull < T > & other
) 

function get

inline const std::shared_ptr< T > & endstone::Nullable::get () noexcept const

function operator bool

inline explicit endstone::Nullable::operator bool () noexcept const

function operator!=

bool endstone::Nullable::operator!= (
    const  Nullable &
) const

function operator!=

inline bool endstone::Nullable::operator!= (
    std::nullptr_t
) noexcept const

function operator*

inline T & endstone::Nullable::operator* () noexcept const

function operator->

inline T * endstone::Nullable::operator-> () noexcept const

function operator==

bool endstone::Nullable::operator== (
    const  Nullable &
) const

function operator==

inline bool endstone::Nullable::operator== (
    std::nullptr_t
) noexcept const


The documentation for this class was generated from the following file include/endstone/util/pointers.h