EnTT 3.15.0
Loading...
Searching...
No Matches
entt::constness_as< To, const From > Struct Template Reference

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

#include <type_traits.hpp>

Public Types

using type = const To
 The type resulting from the transcription of the constness.
 
using type
 The type resulting from the transcription of the constness.
 

Detailed Description

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

Transcribes the constness of a type to another type.

Template Parameters
ToThe type to which to transcribe the constness.
FromThe type from which to transcribe the constness.

Definition at line 830 of file type_traits.hpp.

Member Typedef Documentation

◆ type [1/2]

using entt::constness_as< To, From >::type

The type resulting from the transcription of the constness.

Definition at line 825 of file type_traits.hpp.

◆ type [2/2]

template<typename To, typename From>
using entt::constness_as< To, const From >::type = const To

The type resulting from the transcription of the constness.

Definition at line 832 of file type_traits.hpp.


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