aboutsummaryrefslogtreecommitdiff
path: root/libbutl/small-list.mxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/small-list.mxx')
-rw-r--r--libbutl/small-list.mxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbutl/small-list.mxx b/libbutl/small-list.mxx
index 40a583d..7e91dc5 100644
--- a/libbutl/small-list.mxx
+++ b/libbutl/small-list.mxx
@@ -68,6 +68,8 @@ LIBBUTL_MODEXPORT namespace butl
static_assert (N == 1, "only small_list or 1 currently supported");
public:
+ static constexpr const std::size_t small_size = N;
+
using buffer_type = small_list_buffer<T, N>;
using allocator_type = small_allocator<T, N, buffer_type>;
using base_type = std::list<T, allocator_type>;