Support Class Library
A set of tools providing classes and utility
Public Member Functions | List of all members
scl::concepts::Hash< T, Key > Struct Template Reference

Hash concept, a type T is an hash for Key if it is a function object, copy constructible, destructible, and the return type of its invocation w/ a Key is std::size_t. More...

#include "Hash.h"

Public Member Functions

constexpr operator bool () const
 

Detailed Description

template<class T, class Key>
struct scl::concepts::Hash< T, Key >

Hash concept, a type T is an hash for Key if it is a function object, copy constructible, destructible, and the return type of its invocation w/ a Key is std::size_t.

Template Parameters
Tbeing the type to check against
Keybeing the type to hash

Definition at line 18 of file Hash.h.

Member Function Documentation

◆ operator bool()

template<class T , class Key >
constexpr scl::concepts::Hash< T, Key >::operator bool ( ) const
inline

Definition at line 19 of file Hash.h.


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