forked from boostorg/container
Remove Boost.StaticAsser dependency
This commit is contained in:
1 parent
716ec48861
commit
7c74232a40
62 files changed
+344
-348
No files matched your search
@@ -87,7 +87,7 @@ class static_storage_allocator
|
||||
{ return true; }
|
||||
|
||||
private:
|
||||
BOOST_STATIC_ASSERT_MSG(!InplaceAlignment || (InplaceAlignment & (InplaceAlignment-1)) == 0, "Alignment option must be zero or power of two");
|
||||
BOOST_CONTAINER_STATIC_ASSERT_MSG(!InplaceAlignment || (InplaceAlignment & (InplaceAlignment-1)) == 0, "Alignment option must be zero or power of two");
|
||||
static const std::size_t final_alignment = InplaceAlignment ? InplaceAlignment : dtl::alignment_of<T>::value;
|
||||
typename dtl::aligned_storage<sizeof(T)*N, final_alignment>::type storage;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user