summaryrefslogtreecommitdiff
path: root/boost/hana/fwd/set.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/hana/fwd/set.hpp')
-rw-r--r--boost/hana/fwd/set.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/hana/fwd/set.hpp b/boost/hana/fwd/set.hpp
index 2b0fdc5284..55bd72d248 100644
--- a/boost/hana/fwd/set.hpp
+++ b/boost/hana/fwd/set.hpp
@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::set`.
-@copyright Louis Dionne 2013-2016
+@copyright Louis Dionne 2013-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -72,6 +72,10 @@ BOOST_HANA_NAMESPACE_BEGIN
#ifdef BOOST_HANA_DOXYGEN_INVOKED
template <typename implementation_defined>
struct set {
+ //! Default-construct a set. This constructor only exists when all the
+ //! elements of the set are default-constructible.
+ constexpr set() = default;
+
//! Copy-construct a set from another set. This constructor only
//! exists when all the elements of the set are copy-constructible.
constexpr set(set const& other) = default;