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

Specialisation of the piranha::math::partial() functor for arithmetic types. More...

#include <piranha/math.hpp>

Public Member Functions

operator() (const T &, const std::string &) const
 Call operator. More...
 

Detailed Description

template<typename T>
struct piranha::math::partial_impl< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >

Specialisation of the piranha::math::partial() functor for arithmetic types.

This specialisation is activated when T is a C++ arithmetic type. The result will be zero.

Definition at line 642 of file math.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
T piranha::math::partial_impl< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::operator() ( const T &  ,
const std::string &   
) const
inline

Call operator.

Returns
an instance of T constructed from zero.

Definition at line 647 of file math.hpp.


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