1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix defaulted default constructor

This commit is contained in:
bolero-MURAKAMI 2014-01-14 00:18:06 +09:00
parent 5aacc92a14
commit 7640eca894
82 changed files with 139 additions and 120 deletions

View file

@ -33,7 +33,7 @@ namespace sprout {
typedef sprout::adaptors::detail::adapted_range_default<Range> base_type;
typedef typename base_type::range_type range_type;
public:
copied_range() = default;
SPROUT_CONSTEXPR copied_range() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
copied_range(copied_range const&) = default;
explicit SPROUT_CONSTEXPR copied_range(range_type& range)
: base_type(
@ -57,7 +57,7 @@ namespace sprout {
private:
sprout::value_holder<result_type&> result_;
public:
copy_holder() = default;
SPROUT_CONSTEXPR copy_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
copy_holder(copy_holder const&) = default;
explicit SPROUT_CONSTEXPR copy_holder(result_type& result)
: result_(result)