TrueReality  v0.1.1912
trUtil::UnaryFunction< ArgumentType, ResultType > Struct Template Reference

A unary function created to have a compatibility to the old std::unary_function while still using c++17. More...

#include <UnaryFunction.h>

Inheritance diagram for trUtil::UnaryFunction< ArgumentType, ResultType >:

Public Types

typedef ArgumentType argumentType
 
typedef ResultType resultType
 

Detailed Description

template<typename ArgumentType, typename ResultType>
struct trUtil::UnaryFunction< ArgumentType, ResultType >

A unary function created to have a compatibility to the old std::unary_function while still using c++17.

This class should be used temporarily and removed in favor of more modern code.

Author
Maxim Serebrennik
Template Parameters
ArgumentTypeType of the argument type.
ResultTypeType of the result type.

Definition at line 41 of file UnaryFunction.h.

Member Typedef Documentation

◆ argumentType

template<typename ArgumentType, typename ResultType>
typedef ArgumentType trUtil::UnaryFunction< ArgumentType, ResultType >::argumentType

Definition at line 43 of file UnaryFunction.h.

◆ resultType

template<typename ArgumentType, typename ResultType>
typedef ResultType trUtil::UnaryFunction< ArgumentType, ResultType >::resultType

Definition at line 44 of file UnaryFunction.h.


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