IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
named_type.hxx
Go to the documentation of this file.
1
3
4#pragma once
5#include <ice/stringid.hxx>
6
7namespace ice::concepts
8{
9
10 template<typename T>
11 concept NamedDataType = requires(T t) {
12 { ice::clear_type_t<T>::Identifier } -> std::convertible_to<ice::StringID const>;
13 } && std::is_trivially_destructible_v<T>;
14
15} // namespace ice
Definition named_type.hxx:11
Definition container_concepts.hxx:12
std::remove_pointer_t< std::remove_reference_t< std::remove_cv_t< T > > > clear_type_t
Definition base.hxx:64