mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-09 02:07:04 +08:00
18 lines
350 B
C++
18 lines
350 B
C++
#ifndef ENTT_CORE_CONCEPTS_HPP
|
|
#define ENTT_CORE_CONCEPTS_HPP
|
|
|
|
#include "../stl/type_traits.hpp"
|
|
|
|
namespace entt {
|
|
|
|
/**
|
|
* @brief Specifies that a type is not a cv-qualified reference.
|
|
* @tparam Type Type to check.
|
|
*/
|
|
template<typename Type>
|
|
concept cvref_unqualified = stl::is_same_v<stl::remove_cvref_t<Type>, Type>;
|
|
|
|
} // namespace entt
|
|
|
|
#endif
|