libdisplaydevice latest
C++ library to modify display devices.
display_device::StringHash Struct Reference

Transparent hash for string-keyed unordered containers. More...

#include <src/common/include/display_device/types.h>

Public Types

using is_transparent = void
 Enables heterogeneous lookup for compatible string key types.
 

Public Member Functions

std::size_t operator() (const std::string_view value) const noexcept
 Hash a string view.
 

Detailed Description

Transparent hash for string-keyed unordered containers.

Member Function Documentation

◆ operator()()

std::size_t display_device::StringHash::operator() ( const std::string_view value) const
inlinenodiscardnoexcept

Hash a string view.

Parameters
valueValue to hash.
Returns
Hash value.

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