piranha  0.10
Public Types | Public Member Functions | List of all members
std::hash< mppp::mp_integer< SSize > > Struct Template Reference

Specialisation of std::hash for mppp::mp_integer. More...

#include <piranha/mppp/mp++.hpp>

Public Types

typedef mppp::mp_integer< SSize > argument_type
 The argument type.
 
typedef size_t result_type
 The result type.
 

Public Member Functions

result_type operator() (const argument_type &n) const
 Call operator. More...
 

Detailed Description

template<size_t SSize>
struct std::hash< mppp::mp_integer< SSize > >

Specialisation of std::hash for mppp::mp_integer.

Definition at line 5194 of file mp++.hpp.

Member Function Documentation

◆ operator()()

template<size_t SSize>
result_type std::hash< mppp::mp_integer< SSize > >::operator() ( const argument_type n) const
inline

Call operator.

Parameters
nthe mppp::mp_integer whose hash will be returned.
Returns
the hash value of n, as calculated by mppp::mp_integer::hash().

Definition at line 5205 of file mp++.hpp.


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