casacore
Public Member Functions | List of all members
casacore::IsNaN< T > Struct Template Reference

Functor to test for NaN. More...

#include <Functors.h>

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>());
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
Definition: ExprNode.h:1929

Definition at line 266 of file Functors.h.

Member Function Documentation

◆ operator()()

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

Definition at line 268 of file Functors.h.

References casacore::isNaN(), and casacore::value().


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