wren
Vulkan-based game engine
Toggle main menu visibility
Loading...
Searching...
No Matches
concepts.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <boost/describe.hpp>
4
5
namespace
wren
{
6
7
template
<
typename
T>
8
concept
DescribedEnum
= boost::describe::has_describe_enumerators<T>::value;
9
10
template
<
typename
T>
11
concept
DescribedStruct
= boost::describe::has_describe_bases<T>::value &&
12
boost::describe::has_describe_members<T>::value;
13
14
template
<
typename
T>
15
concept
Describable
=
DescribedStruct<T>
||
DescribedEnum<T>
;
16
17
}
// namespace wren
wren::Describable
Definition
concepts.hpp:15
wren::DescribedEnum
Definition
concepts.hpp:8
wren::DescribedStruct
Definition
concepts.hpp:11
wren
Definition
editor_scene.hpp:5
wren_utils
include
wren
utils
concepts.hpp
Generated by
1.17.0