#include "cuckoohash_config.hh"
#include <exception>
#include <thread>
#include <utility>
#include <vector>
Go to the source code of this file.
|
template<typename F , typename MappedType > |
bool | libcuckoo::internal::InvokeUpraseFn (F &f, MappedType &mapped, UpsertContext context, std::true_type) |
|
template<typename F , typename MappedType > |
bool | libcuckoo::internal::InvokeUpraseFn (F &f, MappedType &mapped, UpsertContext context, std::false_type) |
|
◆ LIBCUCKOO_ALIGNAS
#define LIBCUCKOO_ALIGNAS |
( |
|
x | ) |
alignas(x) |
alignas() requires GCC >= 4.9, so we stick with the alignment attribute for GCC.
◆ LIBCUCKOO_DBG
#define LIBCUCKOO_DBG |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
◆ LIBCUCKOO_SQUELCH_DEADCODE_WARNING_BEGIN
#define LIBCUCKOO_SQUELCH_DEADCODE_WARNING_BEGIN |
At higher warning levels, MSVC may issue a deadcode warning which depends on the template arguments given. For certain other template arguments, the code is not really "dead".
◆ LIBCUCKOO_SQUELCH_PADDING_WARNING
#define LIBCUCKOO_SQUELCH_PADDING_WARNING |
At higher warning levels, MSVC produces an annoying warning that alignment may cause wasted space: "structure was padded due to __declspec(align())".
◆ UpsertContext
This enum indicates whether an insertion took place, or whether the key-value pair was already in the table. See cuckoohash_map::uprase_fn for usage details.