diff --git a/include/boost/parameter/aux_/tagged_argument.hpp b/include/boost/parameter/aux_/tagged_argument.hpp index 964dd8f..bdc1eb1 100644 --- a/include/boost/parameter/aux_/tagged_argument.hpp +++ b/include/boost/parameter/aux_/tagged_argument.hpp @@ -295,6 +295,15 @@ namespace boost { namespace parameter { namespace aux { return this->get_value(); } + template + inline BOOST_CONSTEXPR reference + operator[]( + ::boost::parameter::aux::default_r_ const& + ) const + { + return this->get_value(); + } + template inline BOOST_CONSTEXPR reference operator[]( @@ -662,7 +671,7 @@ namespace boost { namespace parameter { namespace aux { ::boost::parameter::aux::tagged_argument , ::boost::parameter::aux::arg_list< ::boost::parameter::aux::tagged_argument - > + > > operator,( ::boost::parameter::aux @@ -673,7 +682,7 @@ namespace boost { namespace parameter { namespace aux { ::boost::parameter::aux::tagged_argument , ::boost::parameter::aux::arg_list< ::boost::parameter::aux::tagged_argument - > + > >( *this , ::boost::parameter::aux::arg_list<