summaryrefslogtreecommitdiff
path: root/boost/fusion/container/deque/detail/cpp03/as_deque.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
commitb8cf34c691623e4ec329053cbbf68522a855882d (patch)
tree34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/fusion/container/deque/detail/cpp03/as_deque.hpp
parent3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff)
downloadboost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.gz
boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.bz2
boost-b8cf34c691623e4ec329053cbbf68522a855882d.zip
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/fusion/container/deque/detail/cpp03/as_deque.hpp')
-rw-r--r--boost/fusion/container/deque/detail/cpp03/as_deque.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/boost/fusion/container/deque/detail/cpp03/as_deque.hpp b/boost/fusion/container/deque/detail/cpp03/as_deque.hpp
index e95daf3a19..860a2a2936 100644
--- a/boost/fusion/container/deque/detail/cpp03/as_deque.hpp
+++ b/boost/fusion/container/deque/detail/cpp03/as_deque.hpp
@@ -26,7 +26,13 @@ namespace boost { namespace fusion { namespace detail
BOOST_FUSION_BARRIER_BEGIN
template <int size>
- struct as_deque;
+ struct as_deque
+ {
+ BOOST_STATIC_ASSERT_MSG(
+ size <= FUSION_MAX_DEQUE_SIZE
+ , "FUSION_MAX_DEQUE_SIZE limit is too low"
+ );
+ };
template <>
struct as_deque<0>