aboutsummaryrefslogtreecommitdiff
path: root/libbutl/small-vector.mxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/small-vector.mxx')
-rw-r--r--libbutl/small-vector.mxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbutl/small-vector.mxx b/libbutl/small-vector.mxx
index fa9c702..990d344 100644
--- a/libbutl/small-vector.mxx
+++ b/libbutl/small-vector.mxx
@@ -44,6 +44,8 @@ LIBBUTL_MODEXPORT namespace butl
public std::vector<T, small_allocator<T, N>>
{
public:
+ static constexpr const std::size_t small_size = N;
+
using buffer_type = small_allocator_buffer<T, N>;
using allocator_type = small_allocator<T, N>;
using base_type = std::vector<T, allocator_type>;