piranha  0.10
Public Types | Public Member Functions | List of all members
std::hash< piranha::term< Cf, Key > > Struct Template Reference

Specialisation of std::hash for piranha::term. More...

#include <piranha/term.hpp>

Public Types

using result_type = size_t
 The result type.
 
using argument_type = piranha::term< Cf, Key >
 The argument type.
 

Public Member Functions

result_type operator() (const argument_type &a) const
 Hash operator. More...
 

Detailed Description

template<typename Cf, typename Key>
struct std::hash< piranha::term< Cf, Key > >

Specialisation of std::hash for piranha::term.

Definition at line 219 of file term.hpp.

Member Function Documentation

◆ operator()()

template<typename Cf , typename Key >
result_type std::hash< piranha::term< Cf, Key > >::operator() ( const argument_type a) const
inline

Hash operator.

Parameters
athe argument whose hash value will be computed.
Returns
a hash value for a computed via piranha::term::hash().

Definition at line 230 of file term.hpp.


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