Skip to main content

struct command_hash_by_id

Declaration

struct command_hash_by_id { /* full declaration omitted */ };

Description

Hash function for unordered_sets/maps of command * that is deterministic even as allocation addresses change between application runs.

Member Function Overview

  • template <typename Pointer>
    operator()(Pointer instr) const → constexpr size_t

Member Functions

template <typename Pointer>
constexpr size_t operator()(Pointer instr) const

Template Parameters

Pointer

Parameters

Pointer instr