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

Functor to hash a canonical type by using its pointer value. More...

#include <abg-ir.h>

Public Member Functions

size_t operator() (const type_base *l) const
 Hash a (canonical) type by returning its pointer value. More...
 
size_t operator() (const type_base_sptr &l) const
 Hash a type by returning the pointer value of its canonical type. More...
 

Detailed Description

Functor to hash a canonical type by using its pointer value.

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

Member Function Documentation

◆ operator()() [1/2]

size_t operator() ( const type_base l) const

Hash a (canonical) type by returning its pointer value.

Parameters
lthe canonical type to hash.
Returns
the pointer value of the canonical type of l.

Definition at line 7984 of file abg-ir.cc.

◆ operator()() [2/2]

size_t operator() ( const type_base_sptr &  l) const

Hash a type by returning the pointer value of its canonical type.

Parameters
lthe type to hash.
Returns
the the pointer value of the canonical type of l.

Definition at line 7975 of file abg-ir.cc.


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