piranha  0.10
Public Member Functions | List of all members
piranha::math::negate_impl< mp_rational< SSize > > Struct Template Reference

Specialisation of the implementation of piranha::math::negate() for piranha::mp_rational. More...

#include <piranha/mp_rational.hpp>

Public Member Functions

void operator() (mp_rational< SSize > &q) const
 Call operator. More...
 

Detailed Description

template<std::size_t SSize>
struct piranha::math::negate_impl< mp_rational< SSize > >

Specialisation of the implementation of piranha::math::negate() for piranha::mp_rational.

Definition at line 1891 of file mp_rational.hpp.

Member Function Documentation

◆ operator()()

template<std::size_t SSize>
void piranha::math::negate_impl< mp_rational< SSize > >::operator() ( mp_rational< SSize > &  q) const
inline

Call operator.

Parameters
qpiranha::mp_rational to be negated.

Definition at line 1896 of file mp_rational.hpp.


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