piranha  0.10
Public Member Functions | List of all members
piranha::math::is_zero_impl< T, typename std::enable_if< std::is_same< T, real >::value >::type > Struct Template Reference

Specialisation of the piranha::math::is_zero() functor for piranha::real. More...

#include <piranha/real.hpp>

Public Member Functions

bool operator() (const T &r) const
 Call operator. More...
 

Detailed Description

template<typename T>
struct piranha::math::is_zero_impl< T, typename std::enable_if< std::is_same< T, real >::value >::type >

Specialisation of the piranha::math::is_zero() functor for piranha::real.

Definition at line 1913 of file real.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
bool piranha::math::is_zero_impl< T, typename std::enable_if< std::is_same< T, real >::value >::type >::operator() ( const T &  r) const
inline

Call operator.

Parameters
rpiranha::real to be tested.
Returns
true if r is zero, false otherwise.

Definition at line 1920 of file real.hpp.


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