EnTT 3.15.0
Loading...
Searching...
No Matches
fwd.hpp
1#ifndef ENTT_CORE_FWD_HPP
2#define ENTT_CORE_FWD_HPP
3
4#include <cstddef>
5#include <cstdint>
6#include "../config/config.h"
7
8namespace entt {
9
11enum class any_policy : std::uint8_t {
22};
23
24// NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays)
25template<std::size_t Len = sizeof(double[2]), std::size_t = alignof(double[2])>
26class basic_any;
27
29using id_type = ENTT_ID_TYPE;
30
33
34template<typename, typename>
35class compressed_pair;
36
37template<typename>
39
42
45
46// NOLINTNEXTLINE(bugprone-forward-declaration-namespace)
47struct type_info;
48
49} // namespace entt
50
51#endif
Zero overhead unique identifier.
A compressed pair.
EnTT default namespace.
Definition dense_map.hpp:22
basic_hashed_string< char > hashed_string
Aliases for common character types.
Definition fwd.hpp:41
std::uint32_t id_type
Alias declaration for type identifiers.
Definition fwd.hpp:29
basic_any<> any
Alias declaration for the most common use case.
Definition fwd.hpp:32
basic_hashed_string< wchar_t > hashed_wstring
Aliases for common character types.
Definition fwd.hpp:44
any_policy
Possible modes of an any object.
Definition fwd.hpp:11
@ ref
Aliasing mode, the object points to a non-const element.
Definition fwd.hpp:19
@ cref
Const aliasing mode, the object points to a const element.
Definition fwd.hpp:21
@ embedded
Owning mode, the object owns an embedded element.
Definition fwd.hpp:17
@ empty
Default mode, the object does not own any elements.
Definition fwd.hpp:13
@ dynamic
Owning mode, the object owns a dynamically allocated element.
Definition fwd.hpp:15
Implementation specific information about a type.