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

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

#include <piranha/mp_rational.hpp>

Public Member Functions

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

Detailed Description

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

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

Definition at line 1861 of file mp_rational.hpp.

Member Function Documentation

◆ operator()()

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

Call operator.

Parameters
qpiranha::mp_rational to be tested.
Returns
true if q is zero, false otherwise.

Definition at line 1868 of file mp_rational.hpp.


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