class Any

Class capable of storing any general type, and safely extracting the proper type from the internal data.

Public

Constructors

Any

Any() noexcept = default

Any

Any(std::nullptr_t)

Any

Any(const Any &other)

Methods

~Any

~Any() noexcept

Swap

Any &Swap(Any &rhs)

Swaps the contents of this object with another.

Empty

bool Empty() const

Returns true if no type is set.

Operators

operator=

Any &operator=(const Any &rhs)

Private

Fields

mData

DataBase * mData