Refureku v2.2.0
C++17 runtime reflection library.
CopyConstness.h
1
8#pragma once
9
10namespace rfk
11{
17 template <typename Source, typename Target>
19 {
20 using Type = Target;
21 };
22
23 template <typename Source, typename Target>
24 struct CopyConstness<Source const, Target>
25 {
26 using Type = Target const;
27 };
28}
Definition: Allocator.h:16
Helper type traits class that copy the constness of a type to a target type. ex: CopyConstness<int,...
Definition: CopyConstness.h:19