aimstil  5.0.5
til::functor::MulTo< T1, T2 > Struct Template Reference

In-place multiplication functor. More...

#include <til/functors.h>

Inheritance diagram for til::functor::MulTo< T1, T2 >:
Collaboration diagram for til::functor::MulTo< T1, T2 >:

Public Types

typedef std::binary_function< typename boost::add_reference< T1 >::type, typename boost::call_traits< T2 >::param_type, void > Base
 
typedef Base::first_argument_type first_argument_type
 
typedef Base::second_argument_type second_argument_type
 
typedef Base::result_type result_type
 

Public Member Functions

result_type operator() (first_argument_type x, second_argument_type y) const
 

Detailed Description

template<typename T1, typename T2>
struct til::functor::MulTo< T1, T2 >

In-place multiplication functor.

Definition at line 230 of file functors.h.

Member Typedef Documentation

◆ Base

template<typename T1 , typename T2 >
typedef std::binary_function<typename boost::add_reference<T1>::type,typename boost::call_traits<T2>::param_type,void> til::functor::MulTo< T1, T2 >::Base

Definition at line 233 of file functors.h.

◆ first_argument_type

template<typename T1 , typename T2 >
typedef Base::first_argument_type til::functor::MulTo< T1, T2 >::first_argument_type

Definition at line 234 of file functors.h.

◆ result_type

template<typename T1 , typename T2 >
typedef Base::result_type til::functor::MulTo< T1, T2 >::result_type

Definition at line 236 of file functors.h.

◆ second_argument_type

template<typename T1 , typename T2 >
typedef Base::second_argument_type til::functor::MulTo< T1, T2 >::second_argument_type

Definition at line 235 of file functors.h.

Member Function Documentation

◆ operator()()

template<typename T1 , typename T2 >
result_type til::functor::MulTo< T1, T2 >::operator() ( first_argument_type  x,
second_argument_type  y 
) const
inline

Definition at line 237 of file functors.h.


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