Function operator=

Synopsis

#include <src/entt/core/monostate.hpp>

template <typename Type>
void operator=(Type val) const noexcept

Description

Assigns a value of a specific type to a given key.

Template Parameters:

Type - Type of the value to assign.

Parameters:

val - User data to assign to the given key.

Source

Lines 30-33 in src/entt/core/monostate.hpp.

template<typename Type>
void operator=(Type val) const ENTT_NOEXCEPT {
    value<Type> = val;
}





Add Discussion

Log in to comment