diff --git a/sprout/tuple/default_construct.hpp b/sprout/tuple/default_construct.hpp index 67df5c7c..4107a35c 100644 --- a/sprout/tuple/default_construct.hpp +++ b/sprout/tuple/default_construct.hpp @@ -16,7 +16,13 @@ namespace sprout { // default_construct_t // default_construct // - struct default_construct_t {}; + struct default_construct_t { + public: + template + operator T() const { + return T(); + } + }; SPROUT_STATIC_CONSTEXPR sprout::tuples::default_construct_t default_construct = {}; } // namespace tuples