[libcxx][nfc] Delete `cpp20_input_iterator`'s default constructor.

This will make it conform only to the minimum requirements for an `input_iterator`.
This commit is contained in:
zoecarver 2021-07-27 15:46:10 -07:00
parent 86832c9440
commit b187e0389d
1 changed files with 1 additions and 1 deletions

View File

@ -698,7 +698,7 @@ struct cpp20_input_iterator {
using difference_type = std::iter_difference_t<I>;
using iterator_concept = std::input_iterator_tag;
cpp20_input_iterator() = default;
cpp20_input_iterator() = delete;
cpp20_input_iterator(cpp20_input_iterator&&) = default;
cpp20_input_iterator& operator=(cpp20_input_iterator&&) = default;