xentara-utils v1.2.1
Xentara utilities library
Loading...
Searching...
No Matches
xentara::utils::tools::IsSame< Type1, Type2 > Struct Template Reference

Determines if two types are the same, without taking into account qualifiers or references. More...

#include <tools/TypeTraits.hpp>

Related Symbols

(Note that these are not member symbols.)

template<typename Type1 , typename Type2 >
constexpr bool kIsSame
 Determines if two types are the same, without taking into account qualifiers or references.
 

Detailed Description

template<typename Type1, typename Type2>
struct xentara::utils::tools::IsSame< Type1, Type2 >

Determines if two types are the same, without taking into account qualifiers or references.

This trait is equivalent to std::is_same<std::remove_cvref_t<Type1>, std::remove_cvref_t<Type2>>.

See also
std::is_same, SameAs

Friends And Related Symbol Documentation

◆ kIsSame

template<typename Type1 , typename Type2 >
template<typename Type1 , typename Type2 >
constexpr bool kIsSame
related

Determines if two types are the same, without taking into account qualifiers or references.

This value is equivalent to std::is_same_v<std::remove_cvref_t<Type1>, std::remove_cvref_t<Type2>>.