aimstil  5.0.5
til::expr::functor::DetemplateOperator2< TOperator > Struct Template Reference

A class to "detemplate" a pure functor with two template arguments. More...

#include <til/TExprBasicFunctors.h>

Inheritance diagram for til::expr::functor::DetemplateOperator2< TOperator >:
Collaboration diagram for til::expr::functor::DetemplateOperator2< TOperator >:

Classes

struct  TypeStruct
 

Public Member Functions

template<typename T1 , typename T2 >
TOperator< T1, T2 >::result_type operator() (const T1 &x, const T2 &y) const
 
template<typename T1 , typename T2 >
TOperator< T1, T2 >::result_type operator() (T1 &x, const T2 &y) const
 

Detailed Description

template<template< typename, typename > class TOperator>
struct til::expr::functor::DetemplateOperator2< TOperator >

A class to "detemplate" a pure functor with two template arguments.

i.e. to transform a F<T> into a F that has an operator()<T>.

Definition at line 128 of file TExprBasicFunctors.h.

Member Function Documentation

◆ operator()() [1/2]

template<template< typename, typename > class TOperator>
template<typename T1 , typename T2 >
TOperator<T1,T2>::result_type til::expr::functor::DetemplateOperator2< TOperator >::operator() ( const T1 &  x,
const T2 &  y 
) const
inline

Definition at line 142 of file TExprBasicFunctors.h.

◆ operator()() [2/2]

template<template< typename, typename > class TOperator>
template<typename T1 , typename T2 >
TOperator<T1,T2>::result_type til::expr::functor::DetemplateOperator2< TOperator >::operator() ( T1 &  x,
const T2 &  y 
) const
inline

Definition at line 149 of file TExprBasicFunctors.h.


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