Searched defs:IntPolicy (Results 1 – 2 of 2) sorted by relevance
38 struct IntPolicy { struct39 using slot_type = int64_t;40 using key_type = int64_t;41 using init_type = int64_t;43 static void construct(void*, int64_t* slot, int64_t v) { *slot = v; } in construct()44 static void destroy(void*, int64_t*) {} in destroy()45 static void transfer(void*, int64_t* new_slot, int64_t* old_slot) { in transfer()49 static int64_t& element(slot_type* slot) { return *slot; } in element()52 static auto apply(F&& f, int64_t x) -> decltype(std::forward<F>(f)(x, x)) { in apply()
315 using IntPolicy = ValuePolicy<int64_t>; typedef