StormByte 3.0.0
C++26 foundation of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Safe::Hash< T * > Struct Template Reference

Hash of a pointer identity. More...

#include <StormByte/safe/hash.hxx>

Public Member Functions

STORMBYTE_FORCE_INLINE std::size_t operator() (T *value) const noexcept
 Hash value.

Detailed Description

template<class T>
struct StormByte::Safe::Hash< T * >

Hash of a pointer identity.

The pointee is not read.

Template Parameters
TPointee type.

Member Function Documentation

◆ operator()()

template<class T>
STORMBYTE_FORCE_INLINE std::size_t StormByte::Safe::Hash< T * >::operator() ( T * value) const
inlinenoexcept

Hash value.

Parameters
valuePointer. May be null.
Returns
Hash.

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