libabigail
Public Member Functions | List of all members
type_or_decl_hash Struct Reference

The hashing functor for using instances of type_or_decl_base as values in a hash map or set. More...

#include <abg-ir.h>

Public Member Functions

size_t operator() (const type_or_decl_base *artifact) const
 Function-call Operator to hash the string representation of an ABI artifact. More...
 
size_t operator() (const type_or_decl_base_sptr &artifact) const
 Function-call Operator to hash the string representation of an ABI artifact. More...
 

Detailed Description

The hashing functor for using instances of type_or_decl_base as values in a hash map or set.

Definition at line 466 of file abg-ir.h.

Member Function Documentation

◆ operator()() [1/2]

size_t operator() ( const type_or_decl_base artifact) const
inline

Function-call Operator to hash the string representation of an ABI artifact.

Parameters
artifactthe ABI artifact to hash.
Returns
the hash value of the string representation of artifact.

Definition at line 477 of file abg-ir.h.

◆ operator()() [2/2]

size_t operator() ( const type_or_decl_base_sptr artifact) const
inline

Function-call Operator to hash the string representation of an ABI artifact.

Parameters
artifactthe ABI artifact to hash.
Returns
the hash value of the string representation of artifact.

Definition at line 492 of file abg-ir.h.


The documentation for this struct was generated from the following file: