fixed constraint notes in transparent insert with hint

This commit is contained in:
joaquintides
2022-12-20 11:35:15 +01:00
parent 644295db3a
commit 1955e4f36a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -931,7 +931,7 @@ Can invalidate iterators, but only if the insert causes the load factor to be gr
+
Pointers and references to elements are never invalidated. +
+
This overload only participates in overload resolution if `Hash::is_transparent` and `Pred::is_transparent` are valid member typedefs. The library assumes that `Hash` is callable with both `K` and `Key` and that `Pred` is transparent. This enables heterogeneous lookup which avoids the cost of instantiating an instance of the `Key` type.
This overload only participates in overload resolution if `Hash::is_transparent` and `Pred::is_transparent` are valid member typedefs and neither `iterator` nor `const_iterator` are implicitly convertible from `K`. The library assumes that `Hash` is callable with both `K` and `Key` and that `Pred` is transparent. This enables heterogeneous lookup which avoids the cost of instantiating an instance of the `Key` type.
---