MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / Insert

Method Insert

Bcore/src/main/cpp/base/hash_set.h:392–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected