Function dereference_meta_pointer_like

Synopsis

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

template <typename Type>
decltype(auto) dereference_meta_pointer_like(const Type &value)

Description

ADL based lookup function for dereferencing meta pointer-like types.

Template Parameters

Type - Element type.

Parameters

value - A pointer-like object.

Returns
The value returned from the dereferenced pointer.

Mentioned in

Source

Lines 14-17 in src/entt/meta/adl_pointer.hpp.

template<typename Type>
decltype(auto) dereference_meta_pointer_like(const Type &value) {
    return *value;
}





Add Discussion

Log in to comment