Botan 3.13.0
Crypto and TLS for C&
std::hash< Botan::OID > Class Reference

#include <asn1_obj.h>

Public Member Functions

size_t operator() (const Botan::OID &oid) const noexcept

Detailed Description

Specialization of std::hash allowing OIDs to be used as keys in unordered containers

Definition at line 756 of file asn1_obj.h.

Member Function Documentation

◆ operator()()

size_t std::hash< Botan::OID >::operator() ( const Botan::OID & oid) const
inlinenoexcept

Return a hash of the OID; see OID::hash_code

Definition at line 761 of file asn1_obj.h.

761{ return static_cast<size_t>(oid.hash_code()); }
uint64_t hash_code() const
Definition asn1_oid.cpp:162

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