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

Specialisation of the implementation of piranha::math::negate() for piranha::mp_integer. More...

#include <piranha/mp_integer.hpp>

Public Member Functions

void operator() (mp_integer< SSize > &n) const
 Call operator. More...
 

Detailed Description

template<std::size_t SSize>
struct piranha::math::negate_impl< mp_integer< SSize > >

Specialisation of the implementation of piranha::math::negate() for piranha::mp_integer.

Definition at line 110 of file mp_integer.hpp.

Member Function Documentation

◆ operator()()

template<std::size_t SSize>
void piranha::math::negate_impl< mp_integer< SSize > >::operator() ( mp_integer< SSize > &  n) const
inline

Call operator.

This implementation will use piranha::mp_integer::neg().

Parameters
npiranha::mp_integer to be negated.

Definition at line 117 of file mp_integer.hpp.


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