diff options
Diffstat (limited to 'boost/parameter/aux_/arg_list.hpp')
-rw-r--r-- | boost/parameter/aux_/arg_list.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boost/parameter/aux_/arg_list.hpp b/boost/parameter/aux_/arg_list.hpp index 71e4da271e..721ce04004 100644 --- a/boost/parameter/aux_/arg_list.hpp +++ b/boost/parameter/aux_/arg_list.hpp @@ -339,6 +339,7 @@ struct arg_list : Next template <class Default> reference operator[](lazy_default<key_type, Default>) const { + BOOST_MPL_ASSERT_NOT((holds_maybe)); return arg.value; } |