@@ -167,7 +167,7 @@ template<typename tag, typename T, T sentinel>
167
167
constexpr bool operator !=(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
168
168
169
169
template <typename tag, typename T, T sentinel>
170
- constexpr bool operator <(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
170
+ constexpr bool operator <(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs) noexcept ;
171
171
172
172
template <typename tag, typename T, T sentinel>
173
173
std::ostream& operator <<(std::ostream& out, const StrongId<tag, T, sentinel>& rhs);
@@ -241,7 +241,7 @@ constexpr bool operator!=(const StrongId<tag, T, sentinel>& lhs, const StrongId<
241
241
242
242
// /@brief operator < Needed for std::map-like containers
243
243
template <typename tag, typename T, T sentinel>
244
- constexpr bool operator <(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs) {
244
+ constexpr bool operator <(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs) noexcept {
245
245
return lhs.id_ < rhs.id_ ;
246
246
}
247
247
0 commit comments