C

SafeRenderer::QSafeMap Class

template <typename KeyType, typename ValueType, std::size_t MaximumSize, std::enable_if_t<std::is_default_constructible_v<KeyType> && std::is_default_constructible_v<ValueType>, bool> = true> class SafeRenderer::QSafeMap

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

Header: #include <QSafeMap>
Since: QtSafeRenderer 3.0

Detailed Description

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

This is a wrapper class for QSafeVector to allow key-value type interaction with user provided value types.

Available under certain Qt licenses.
Find out more.