CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
remove_cvref.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include <type_traits>
11
12namespace CeresEngine::traits {
13
16 template<class T> struct remove_cvref { using type = std::remove_cv_t<std::remove_reference_t<T>>; };
17
19 template<class T> using remove_cvref_t = typename remove_cvref<T>::type;
20
21} // namespace CeresEngine::traits
Definition Partitioner.hpp:146
typename remove_cvref< T >::type remove_cvref_t
A C++17 type trait equivalent to the C++20 remove_cvref concept.
Definition remove_cvref.hpp:19
A C++17 type trait equivalent to the C++20 remove_cvref concept.
Definition remove_cvref.hpp:16
std::remove_cv_t< std::remove_reference_t< T > > type
Definition remove_cvref.hpp:16