Function operator Type
Synopsis
#include <src/entt/core/monostate.hpp>
template <typename Type>
operator Type() const
Description
Gets a value of a specific type for a given key.
- Template Parameters
Type
- Type of the value to get.- Returns
- Stored value, if any.
Source
Lines 37-40 in src/entt/core/monostate.hpp.
template<typename Type>
operator Type() const ENTT_NOEXCEPT {
return value<Type>;
}