Add missing base constructor

This commit is contained in:
Jason Cobb 2021-02-28 21:30:44 -05:00
parent 70dabdfdc4
commit aa17861475
No known key found for this signature in database
GPG Key ID: 2A3F6A6DCA1E8DED

View File

@ -477,6 +477,9 @@ class truncating_iterator_default_construct_base<OutputIt, std::false_type> {
OutputIt out_;
truncating_iterator_default_construct_base() = delete;
explicit truncating_iterator_default_construct_base(OutputIt out) :
out_(std::move(out)) {}
};
template<typename OutputIt>
@ -485,6 +488,9 @@ class truncating_iterator_default_construct_base<OutputIt, std::true_type> {
OutputIt out_;
truncating_iterator_default_construct_base() = default;
explicit truncating_iterator_default_construct_base(OutputIt out) :
out_(std::move(out)) {}
};
template <typename OutputIt> class truncating_iterator_base