Follow this link to skip to the main content

claraty::cl_abs_op< T > Struct Template Reference

#include <functor.h>

List of all members.

Public Member Functions

operator() (const T &x)


Detailed Description

template<class T>
struct claraty::cl_abs_op< T >

Definition at line 231 of file functor.h.


Member Function Documentation

template<class T>
T claraty::cl_abs_op< T >::operator() ( const T &  x  )  [inline]

Definition at line 232 of file functor.h.

00232 { return x < 0 ? -x : x; }


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