| 390 | // Insert an element, allows duplicates. |
| 391 | template <typename U, typename = typename std::enable_if<std::is_convertible<U, T>::value>::type> |
| 392 | void Insert(U&& element) { |
| 393 | InsertWithHash(std::forward<U>(element), hashfn_(element)); |
| 394 | } |
| 395 | |
| 396 | template <typename U, typename = typename std::enable_if<std::is_convertible<U, T>::value>::type> |
| 397 | void InsertWithHash(U&& element, size_t hash) { |
no outgoing calls
no test coverage detected