file
ArrayView.hClass Corrade::
Namespaces
- namespace Corrade
- Root namespace.
- namespace Corrade::Containers
- Container implementations.
Classes
-
template<class T>class Corrade::Containers::ArrayView
- Array view.
-
template<>class Corrade::Containers::ArrayView<void> new in 2019.10
- Void array view.
-
template<>class Corrade::Containers::ArrayView<const void>
- Constant void array view.
-
template<std::class Corrade::Containers::StaticArrayView
size_t size_, class T> - Compile-time-sized array view.
Typedefs
-
template<class T>using ArrayView2 = StaticArrayView<2, T> new in Git master
- Two-component array view.
-
template<class T>using ArrayView3 = StaticArrayView<3, T> new in Git master
- Three-component array view.
-
template<class T>using ArrayView4 = StaticArrayView<4, T> new in Git master
- Four-component array view.
Functions
-
template<class T>auto arrayView(T* data, std::
size_t size) -> ArrayView<T> constexpr - Make a view on an array of specific length.
-
template<std::auto arrayView(T(&data)[size]) -> ArrayView<T> constexpr
size_t size, class T> - Make a view on fixed-size array.
-
template<class T>auto arrayView(std::
initializer_list<T> list) -> ArrayView<const T> new in 2020.06 - Make a view on an initializer list.
-
template<std::auto arrayView(StaticArrayView<size, T> view) -> ArrayView<T> constexpr
size_t size, class T> - Make a view on StaticArrayView.
-
template<class T>auto arrayView(ArrayView<T> view) -> ArrayView<T> constexpr
- Make a view on a view.
-
template<class T, class U = decltype(Implementation::ErasedArrayViewConverter<typename std::auto arrayView(T&& other) -> U constexpr
remove_reference<T && >::type>::from(std:: declval<T && >()))> - Make a view on an external type / from an external representation.
-
template<class U, class T>auto arrayCast(ArrayView<T> view) -> ArrayView<U>
- Reinterpret-cast an array view.
-
template<class U>auto arrayCast(ArrayView<const void> view) -> ArrayView<U> new in 2020.06
- Reinterpret-cast a void array view.
-
template<class T>auto arraySize(ArrayView<T> view) -> std::
size_t constexpr - Array view size.
-
template<std::auto arraySize(StaticArrayView<size_, T>) -> std::
size_t size_, class T> size_t constexpr -
template<std::auto arraySize(T(&)[size_]) -> std::
size_t size_, class T> size_t constexpr - C array size.
-
template<std::auto arraySize(U(T::*)[size_]) -> std::
size_t size_, class T, class U> size_t constexpr new in Git master - C array member size.
-
template<std::auto staticArrayView(T* data) -> StaticArrayView<size, T> constexpr
size_t size, class T> - Make a static view on an array.
-
template<std::auto staticArrayView(T(&data)[size]) -> StaticArrayView<size, T> constexpr
size_t size, class T> - Make a static view on a fixed-size array.
-
template<std::auto staticArrayView(StaticArrayView<size, T> view) -> StaticArrayView<size, T> constexpr
size_t size, class T> - Make a static view on a view.
-
template<class T, class U = decltype(Implementation::ErasedStaticArrayViewConverter<typename std::auto staticArrayView(T&& other) -> U constexpr
remove_reference<T && >::type>::from(std:: declval<T && >()))> - Make a static view on an external type / from an external representation.
-
template<class U, std::auto arrayCast(StaticArrayView<size, T> view) -> StaticArrayView<size*sizeof(T)/sizeof(U), U>
size_t size, class T> - Reinterpret-cast a static array view.
-
template<class U, std::auto arrayCast(T(&data)[size]) -> StaticArrayView<size*sizeof(T)/sizeof(U), U>
size_t size, class T> - Reinterpret-cast a statically sized array.