API Reference — arrayview

5 entries across 2 modules.

By Task

Array and string views

Non-owning views over contiguous sequences with pointer-and-count pairs

API Module Summary
ArrayView ArrayView A non-owning view over a contiguous sequence of objects — a pointer-and-count pair with helper methods, but with no allocation or deallocation of its own.
ConstArrayView ArrayView A read-only view over a contiguous sequence of objects — an alias for ArrayView<const T>.
StringView StringView A non-owning, NULL-safe view over a C string, built on top of ConstArrayView<char>.

Array view type traits

Type system support for array views, including const-correctness and conversion compatibility checks

API Module Summary
ArrayViewTraits ArrayView A traits type that resolves the value/reference/pointer typedefs ArrayView<T> needs, with a specialization for const T that keeps all pointer and reference types const-correct.
IsCompatible ArrayView A compile-time trait that checks whether an ArrayView<U> can be converted to an ArrayView<T> — same underlying type, and not converting a const view to a non-const one.

All Modules

Module File Entries
ArrayView ArrayView.md 4
StringView StringView.md 1