Returns:;; An iterator pointing to an element with key equivalent to `k`, or `end()` if no such element exists. Notes:;; The `template<class K>` overloads only participate 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.
Returns:;; The maximum number of elements the container can hold without rehashing, assuming that no further elements will be erased. Note:;; After construction, rehash or clearance, the container's maximum load is at least `max_load_factor() * bucket_count()`. This number may decrease on erasure under high-load conditions.
Inserts an element constructed from `k` and `args` into the table if there is no existing element with key `k` contained within it, and then invokes `f1` with a non-const reference to the newly created element. Otherwise, invokes `f2` with a reference to the equivalent element; such reference is const iff a `*_cvisit` overload is used.
Returns:;; The number of elements erased (0 or 1). Throws:;; Only throws an exception if it is thrown by `hasher`, `key_equal` or `f`. Notes:;; The `template<class K, class F>` overload only participates in overload resolution if `std::is_execution_policy_v<std::remove_cvref_t<ExecutionPolicy>>` is `false`. + + The `template<class K, class F>` 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.
Requires:;; `n` shall be in the range `[0, bucket_count())`. Returns:;; A local iterator pointing the 'one past the end' element in the bucket with index `n`.
Keyboard shortcuts
Shortcut
Action
?
Open available keyboard shortcuts.
Alt + Home
Navigate to the first translation in the current search.
Alt + End
Navigate to the last translation in the current search.
Alt + PageUp or
Ctrl + ↑ or
Alt + ↑ or
Cmd + ↑ or
Navigate to the previous translation in the current search.
Alt + PageDown or
Ctrl + ↓ or
Alt + ↓ or
Cmd + ↓ or
Navigate to the next translation in the current search.
Ctrl + Enter or
Cmd + Enter
Submit current form; this works the same as pressing Save and continue while editing translation.
Ctrl + Shift + Enter or
Cmd + Shift +Enter
Unmark translation as Needing edit and submit it.
Alt + Enter or
Option + Enter
Submit the string as a suggestion; this works the same as pressing Suggest while editing translation.
Ctrl + E or
Cmd + E
Focus on translation editor.
Ctrl + U or
Cmd + U
Focus on comment editor.
Ctrl + M or
Cmd + M
Shows Automatic suggestions tab.
Ctrl + 1 to
Ctrl + 9 or
Cmd + 1 to
Cmd + 9
Copies placeable of a given number from source string.
Ctrl + M followed by
1 to 9 or
Cmd + M followed by
1 to
9
Copy the machine translation of a given number to current translation.
Ctrl + I followed by
1 to
9 or
Cmd + I followed by
1 to
9