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:
parent
5aacc92a14
commit
7640eca894
82 changed files with 139 additions and 120 deletions
|
@ -40,7 +40,9 @@ namespace testspr {
|
|||
protected:
|
||||
iterator_type current;
|
||||
public:
|
||||
SPROUT_CONSTEXPR reduct_iterator() {};
|
||||
SPROUT_CONSTEXPR reduct_iterator()
|
||||
: current()
|
||||
{}
|
||||
SPROUT_CONSTEXPR reduct_iterator(reduct_iterator const& other) = default;
|
||||
explicit SPROUT_CONSTEXPR reduct_iterator(iterator_type it)
|
||||
: current(it)
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace testspr {
|
|||
typedef typename base_type::range_type range_type;
|
||||
typedef typename base_type::iterator iterator;
|
||||
public:
|
||||
reducted_range() = default;
|
||||
SPROUT_CONSTEXPR reducted_range() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
reducted_range(reducted_range const&) = default;
|
||||
explicit SPROUT_CONSTEXPR reducted_range(range_type& range)
|
||||
: base_type(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue