HardFun< ReturnType, ArgType, fun > Struct Template Reference

#include <HardFun.h>

Public Member Functions

ReturnType operator() (ArgType arg)
 

Detailed Description

template<class ReturnType, class ArgType, ReturnType(*)(ArgType) fun>
struct HardFun< ReturnType, ArgType, fun >

A functor that calls a hard-coded unary function.

Definition at line 16 of file HardFun.h.

Member Function Documentation

◆ operator()()

template<class ReturnType , class ArgType , ReturnType(*)(ArgType) fun>
ReturnType HardFun< ReturnType, ArgType, fun >::operator() ( ArgType  arg)
inline

Definition at line 17 of file HardFun.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors