PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
Public Member Functions | List of all members
std::hash< plssvm::default_value< T > > Struct Template Reference

Hashing struct specialization in the std namespace for a default_value. More...

#include <default_value.hpp>

Public Member Functions

std::size_t operator() (const plssvm::default_value< T > &val) const noexcept
 Overload the function call operator for a default_value. More...
 

Detailed Description

template<typename T>
struct std::hash< plssvm::default_value< T > >

Hashing struct specialization in the std namespace for a default_value.

Necessary to be able to use a default_value, e.g., in a std::unordered_map.

Member Function Documentation

◆ operator()()

template<typename T >
std::size_t std::hash< plssvm::default_value< T > >::operator() ( const plssvm::default_value< T > &  val) const
inlinenoexcept

Overload the function call operator for a default_value.

Hashes the currently active value of val using its default hash function.

Parameters
[in]valthe default_value to hash
Returns
the hash value of val

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