casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::IsNaN< T > Struct Template Reference

Functor to test for NaN. More...

#include <Functors.h>

Inheritance diagram for casacore::IsNaN< T >:

Public Member Functions

bool operator() (T value) const
 

Detailed Description

template<typename T>
struct casacore::IsNaN< T >

Functor to test for NaN.

It can be used in something like:

std::transform (array.begin(), array.end(),
result.begin(), IsNaN<T>());

Definition at line 266 of file Functors.h.

Member Function Documentation

template<typename T >
bool casacore::IsNaN< T >::operator() ( value) const
inline

Definition at line 268 of file Functors.h.

References casacore::isNaN().


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