IceShard
1
A personal game engine project, with development focused on 2D/2.5D games.
Toggle main menu visibility
Loading...
Searching...
No Matches
utils
public
ice
concept
named_type.hxx
Go to the documentation of this file.
1
3
4
#pragma once
5
#include <
ice/stringid.hxx
>
6
7
namespace
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
ice::concepts::NamedDataType
Definition
named_type.hxx:11
ice::concepts
Definition
container_concepts.hxx:12
ice::clear_type_t
std::remove_pointer_t< std::remove_reference_t< std::remove_cv_t< T > > > clear_type_t
Definition
base.hxx:64
stringid.hxx
Generated by
1.18.0