casacore::IsNaN< T > Struct Template Reference

Functor to test for NaN. More...

#include <Functors.h>

List of all members.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1