piranha
0.10
|
Specialisation of std::hash
for piranha::mp_rational.
More...
#include <piranha/mp_rational.hpp>
Public Types | |
typedef size_t | result_type |
Result type. | |
typedef piranha::mp_rational< SSize > | argument_type |
Argument type. | |
Public Member Functions | |
result_type | operator() (const argument_type &q) const |
Hash operator. More... | |
Specialisation of std::hash
for piranha::mp_rational.
Definition at line 2347 of file mp_rational.hpp.
|
inline |
Hash operator.
q | piranha::mp_rational whose hash value will be returned. |
q.hash()
.Definition at line 2360 of file mp_rational.hpp.