casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::Sign< T, RES > Struct Template Reference

Functor to apply sign (result is -1, 0, or 1). More...

#include <Functors.h>

Inheritance diagram for casacore::Sign< T, RES >:

Public Member Functions

RES operator() (T value) const

Detailed Description

template<typename T, typename RES = T>
struct casacore::Sign< T, RES >

Functor to apply sign (result is -1, 0, or 1).

Definition at line 482 of file Functors.h.

Member Function Documentation

template<typename T , typename RES = T>
RES casacore::Sign< T, RES >::operator() ( value) const

Definition at line 484 of file Functors.h.

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