aimstil  5.0.5
til::functor::Pow< T, D > Struct Template Reference

Square. More...

#include <til/functors.h>

Inheritance diagram for til::functor::Pow< T, D >:
Collaboration diagram for til::functor::Pow< T, D >:

Public Types

typedef std::unary_function< T, T > Base
 
typedef Base::argument_type argument_type
 
typedef Base::result_type result_type
 

Public Member Functions

result_type operator() (argument_type x) const
 

Detailed Description

template<typename T, unsigned int D>
struct til::functor::Pow< T, D >

Square.

Definition at line 58 of file functors.h.

Member Typedef Documentation

◆ argument_type

template<typename T , unsigned int D>
typedef Base::argument_type til::functor::Pow< T, D >::argument_type

Definition at line 62 of file functors.h.

◆ Base

template<typename T , unsigned int D>
typedef std::unary_function<T,T> til::functor::Pow< T, D >::Base

Definition at line 61 of file functors.h.

◆ result_type

template<typename T , unsigned int D>
typedef Base::result_type til::functor::Pow< T, D >::result_type

Definition at line 63 of file functors.h.

Member Function Documentation

◆ operator()()

template<typename T , unsigned int D>
result_type til::functor::Pow< T, D >::operator() ( argument_type  x) const
inline

Definition at line 65 of file functors.h.

References til::square().


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