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
7namespace cereal { struct ComponentStorageSentinelType; }
8// clang-format on
9
10namespace 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.
17template <typename T0, typename T1>
19public:
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
28template <typename T0, typename T1>
29[[nodiscard]] constexpr bool
31
32} // namespace cereal::internal
Definition ComponentStorageIterator.h:18
Definition ComponentStorageSentinelType.h:7