casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::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 casa::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 254 of file Functors.h.


Member Function Documentation

template<typename T >
bool casa::IsNaN< T >::operator() ( value) const [inline]

Definition at line 256 of file Functors.h.

References casa::isNaN().


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