C

SafeRenderer::QSafeVector Class

template <typename T, std::size_t MaximumSize, typename = std::enable_if_t<std::is_move_assignable_v<T> && std::is_copy_assignable_v<T>>> class SafeRenderer::QSafeVector

A safe vector-type container class. More...

Header: #include <QSafeVector>
Since: QtSafeRenderer 3.0

Detailed Description

A safe container class. The container can hold any copy and move assignable objects. The given maximum size is required for the QSafeVector and all the initial, default constructed, instances are allocated for the QSafeVector. The contained type must be equality comparable for it to be usable with this container.

This is a index-countered wrapper class for std::array, with std::vector type helper functions.

Available under certain Qt licenses.
Find out more.