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

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

#include <piranha/real.hpp>

Public Member Functions

void operator() (real &x) const
 Call operator. More...
 

Detailed Description

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

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

Definition at line 1900 of file real.hpp.

Member Function Documentation

◆ operator()()

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

Call operator.

Parameters
xpiranha::real to be negated.

Definition at line 1905 of file real.hpp.


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