Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
span.h
1#pragma once
2#include "gaia/config/config.h"
3
4// The same gaia headers used inside span_impl.h must be included here.
5// Amalgamated file would not be generated properly otherwise
6// because of the conditional nature of this file's usage.
7#include "gaia/core/iterator.h"
8#include "gaia/core/utility.h"
9
10#if GAIA_USE_STD_SPAN
11 #include <span>
12#else
13 #include "gaia/core/impl/span_impl.h"
15namespace std {
16 using gaia::core::span;
17}
19#endif
Non-owning view over a contiguous sequence of objects.
Definition span_impl.h:110