Added options for small_vector: inplace_alignment and growth_factor. Fixes #47

This commit is contained in:
Ion Gaztañaga committed 2019-05-09 22:15:43 +02:00
1 parent 1e9b4a15eb
commit 4c348af1eb
6 files changed
+205 -61

No files matched your search

+3 -3
View File
@@ -77,7 +77,7 @@ namespace container {
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
template<class T, class VoidAllocator>
template<class T, class VoidAllocator, class Options>
class small_vector_allocator;
namespace allocator_traits_detail {
@@ -99,8 +99,8 @@ template<class T>
struct is_std_allocator< std::allocator<T> >
{ static const bool value = true; };
template<class T>
struct is_std_allocator< small_vector_allocator<T, std::allocator<T> > >
template<class T, class Options>
struct is_std_allocator< small_vector_allocator<T, std::allocator<T>, Options > >
{ static const bool value = true; };
template<class Allocator>