piranha  0.10
Public Member Functions | List of all members
piranha::print_tex_coefficient_impl< T, typename > Struct Template Reference

Default functor for piranha::print_tex_coefficient(). More...

#include <piranha/print_tex_coefficient.hpp>

Public Member Functions

template<typename U >
auto operator() (std::ostream &os, const U &cf) const -> decltype(print_coefficient(os, cf))
 Call operator. More...
 

Detailed Description

template<typename T, typename = void>
struct piranha::print_tex_coefficient_impl< T, typename >

Default functor for piranha::print_tex_coefficient().

This functor should be specialised via the std::enable_if mechanism.

Definition at line 45 of file print_tex_coefficient.hpp.

Member Function Documentation

◆ operator()()

template<typename T , typename = void>
template<typename U >
auto piranha::print_tex_coefficient_impl< T, typename >::operator() ( std::ostream &  os,
const U &  cf 
) const -> decltype(print_coefficient(os, cf))
inline

Call operator.

The default call operator will call piranha::print_coefficient.

Parameters
ostarget stream.
cfcoefficient to be printed.
Returns
the value returned by piranha::print_coefficient.
Exceptions
unspecifiedany exception thrown by piranha::print_coefficient.

Definition at line 58 of file print_tex_coefficient.hpp.


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