LeviLamina
Loading...
Searching...
No Matches
ComponentStorageIterator.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
cereal {
struct
ComponentStorageSentinelType
; }
8
// clang-format on
9
10
namespace
cereal::internal {
11
12
// Compile-only placeholder for a generated header; does not describe the game's ABI.
13
// entt v4 constrains `entt::iterable_adaptor` with `std::input_or_output_iterator` and
14
// `std::sentinel_for`, so the type has to model an iterator to remain usable as a
15
// template argument. The members are declared but deliberately left undefined, as
16
// nothing is supposed to actually iterate with this placeholder.
17
template
<
typename
T0,
typename
T1>
18
class
ComponentStorageIterator
{
19
public
:
20
using
difference_type = ::std::ptrdiff_t;
21
22
[[nodiscard]]
constexpr
T1& operator*()
const
;
23
24
constexpr
ComponentStorageIterator
& operator++();
25
constexpr
ComponentStorageIterator
operator++(
int
);
26
};
27
28
template
<
typename
T0,
typename
T1>
29
[[nodiscard]]
constexpr
bool
30
operator==(
ComponentStorageIterator<T0, T1>
const
&,
::cereal::ComponentStorageSentinelType
const
&);
31
32
}
// namespace cereal::internal
cereal::internal::ComponentStorageIterator
Definition
ComponentStorageIterator.h:18
cereal::ComponentStorageSentinelType
Definition
ComponentStorageSentinelType.h:7
src
mc
deps
cereal
ComponentStorageIterator.h
Generated on
for LeviLamina by
1.16.1