forked from boostorg/container
Added constant static_vector<>/small_vector::static_capacity to use the configured capacity in constant expressions.
This commit is contained in:
1 parent
649aba461e
commit
4122e722a4
5 files changed
+16
-3
No files matched your search
@@ -139,6 +139,9 @@ public:
|
||||
//! @brief The const reverse iterator.
|
||||
typedef typename base_t::const_reverse_iterator const_reverse_iterator;
|
||||
|
||||
//! @brief The capacity/max size of the container
|
||||
static const size_type static_capacity = Capacity;
|
||||
|
||||
//! @brief Constructs an empty static_vector.
|
||||
//!
|
||||
//! @par Throws
|
||||
|
||||
Reference in new issue
Block a user