omni::graph::exec::unstable::Span
Defined in omni/graph/exec/unstable/Span.h
-
template<typename T>
class Span A pointer along with the number of items the pointer points to.
This object is ABI-safe and can be passed by pointer or value through the ABI.
Public Functions
-
inline bool empty() const noexcept
Return
true
if the span is empty.
-
inline T &front() noexcept
Returns a reference to the first element.
Calling when the span is empty is undefined behavior.
-
inline const T &front() const noexcept
Returns a const reference to the first element.
Calling when the span is empty is undefined behavior.
-
inline T &back() noexcept
Returns a reference to the last element.
Calling when the span is empty is undefined behavior.
-
inline bool empty() const noexcept