StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
StormByte::Type::SameAs Concept Reference

Same type after stripping cv and references from both sides. More...

#include <StormByte/type_traits/relations.hxx>

Concept definition

template<typename T, typename U>
std::is_same_v<std::remove_cvref_t<T>, std::remove_cvref_t<U>>
Same type after stripping cv and references from both sides.
Definition relations.hxx:65

Detailed Description

Same type after stripping cv and references from both sides.

Template Parameters
TFirst type.
USecond type.
Note
Not std::same_as: that does not strip. int and const int& match here.
template<typename T, typename U>
void ensure_same_type(T a, U b);