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

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

#include <piranha/real.hpp>

Public Member Functions

operator() (const T &x) const
 Call operator. More...
 

Detailed Description

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

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

Definition at line 2040 of file real.hpp.

Member Function Documentation

◆ operator()()

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

Call operator.

Parameters
xinput parameter.
Returns
absolute value of x.

Definition at line 2047 of file real.hpp.


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