OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
type_hash.hpp File Reference

Provides hash append implementations for custom types in the oxy core library. More...

Namespaces

namespace  oxy
 This root namespace contains the common types and operations for the OXY-API library.

Functions

template<class Provider, class Hash, class Flavor>
void oxy::tag_invoke (boost::hash2::hash_append_tag const &, Provider const &, Hash &h, Flavor const &f, object_t const *v)
 Customization point for hashing a object_t using Boost.Hash2.
template<class Provider, class Hash, class Flavor>
void oxy::tag_invoke (boost::hash2::hash_append_tag const &, Provider const &, Hash &h, Flavor const &f, oid_t const *v)
 Customization point for hashing a oid_t using Boost.Hash2.
template<class Provider, class Hash, class Flavor>
void oxy::tag_invoke (boost::hash2::hash_append_tag const &, Provider const &, Hash &h, Flavor const &f, timestamp_t const *v)
 Customization point for hashing a timestamp_t object using Boost.Hash2.

Detailed Description

Provides hash append implementations for custom types in the oxy core library.

This header defines tag_invoke functions for the boost::hash2::hash_append_tag tag, allowing custom types such as oid_t, object_t, and timestamp_t to be hashed using the Boost Hash2 library. These implementations enable the use of these types in hash-based containers and algorithms by appending their values to the provided hash object.