EnTT: entt::constness_as< To, From > Struct Template Reference

EnTT 3.16.0

Loading...
Searching...
No Matches
Public Types | List of all members
entt::constness_as< To, From > Struct Template Reference

Transcribes the constness of a type to another type. More...

`#include <type_traits.hpp>`

## Public Types
using | type = std::remove_const_t<To>
| The type resulting from the transcription of the constness.

## Detailed Description

template<typename To, typename From>
struct entt::constness_as< To, From >

Transcribes the constness of a type to another type.

Template Parameters

  To | The type to which to transcribe the constness.
  From | The type from which to transcribe the constness.

Definition at line 823 of file type_traits.hpp.

## Member Typedef Documentation

## ◆ type

template<typename To, typename From>

using entt::constness_as< To, From >::type = std::remove_const_t<To>

The type resulting from the transcription of the constness.

Definition at line 825 of file type_traits.hpp.

The documentation for this struct was generated from the following file:

- src/entt/core/type_traits.hpp