Skip to content

File pointers.h

FileList > endstone > util > pointers.h

Go to the source code of this file

  • #include <cstddef>
  • #include <functional>
  • #include <memory>
  • #include <type_traits>
  • #include <utility>
  • #include "endstone/check.h"

Namespaces

Type Name
namespace endstone
Represents a button with text and an optional icon.

Classes

Type Name
class NotNull <class T>
A wrapper around a std::shared_ptr that is guaranteed never to be null.
class Nullable <class T>
A wrapper around a std::shared_ptr that may be null.
struct hash< endstone::NotNull< T > > <class T>
struct hash< endstone::Nullable< T > > <class T>

Macros

Type Name
define ENDSTONE_DEFINE_PTR_COMPARISONS (Wrapper) /* multi line expression */

Macro Definition Documentation

define ENDSTONE_DEFINE_PTR_COMPARISONS

#define ENDSTONE_DEFINE_PTR_COMPARISONS (
    Wrapper
) `/* multi line expression */`


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