Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/beman/utf_view/std_archetypes/iterator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ struct basic_forward_iterator_archetype {
return result;
}

friend boolean_testable_archetype operator==(
friend constexpr boolean_testable_archetype operator==(
basic_forward_iterator_archetype const& lhs,
basic_forward_iterator_archetype const& rhs) {
return boolean_testable_archetype{lhs.x == rhs.x};
}
friend boolean_testable_archetype operator!=(
friend constexpr boolean_testable_archetype operator!=(
basic_forward_iterator_archetype const& lhs,
basic_forward_iterator_archetype const& rhs) {
return boolean_testable_archetype{lhs.x != rhs.x};
Expand Down Expand Up @@ -191,12 +191,12 @@ struct basic_bidirectional_iterator_archetype {
return result;
}

friend boolean_testable_archetype operator==(
friend constexpr boolean_testable_archetype operator==(
basic_bidirectional_iterator_archetype const& lhs,
basic_bidirectional_iterator_archetype const& rhs) {
return boolean_testable_archetype{lhs.x == rhs.x};
}
friend boolean_testable_archetype operator!=(
friend constexpr boolean_testable_archetype operator!=(
basic_bidirectional_iterator_archetype const& lhs,
basic_bidirectional_iterator_archetype const& rhs) {
return boolean_testable_archetype{lhs.x != rhs.x};
Expand Down
Loading