Struct as_ref_t

Synopsis

#include <src/entt/meta/policy.hpp>

struct as_ref_t

Description

Empty class type used to request the as ref policy.

Mentioned in

Source

Lines 9-20 in src/entt/meta/policy.hpp.

struct as_ref_t {
    /**
     * @cond TURN_OFF_DOXYGEN
     * Internal details not to be documented.
     */
    template<typename Type>
    static constexpr bool value = std::is_reference_v<Type> && !std::is_const_v<std::remove_reference_t<Type>>;
    /**
     * Internal details not to be documented.
     * @endcond
     */
};





Add Discussion

Log in to comment