Add documentation for empty_value

This commit is contained in:
Glen Fernandes
2018-08-26 10:07:19 -04:00
parent 2eaba7d6d1
commit edcd9e2cf5
3 changed files with 126 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ public:
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
template<class... Args>
empty_value(empty_init_t, Args&&... args)
explicit empty_value(empty_init_t, Args&&... args)
: value_(std::forward<Args>(args)...) { }
#else
template<class U>
@@ -97,7 +97,7 @@ public:
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
template<class... Args>
empty_value(empty_init_t, Args&&... args)
explicit empty_value(empty_init_t, Args&&... args)
: T(std::forward<Args>(args)...) { }
#else
template<class U>