Belle II Software development
IsNaN Struct Reference

Unary functor for equality comparison to NAN. More...

#include <Functional.h>

Public Member Functions

 operator FunctorTag ()
 Marker function for the isFunctor test.
 
template<class T >
bool operator() (const T &t) const
 Operator for equality comparision to NaN.
 

Detailed Description

Unary functor for equality comparison to NAN.

Definition at line 539 of file Functional.h.

Member Function Documentation

◆ operator()()

bool operator() ( const T &  t) const
inline

Operator for equality comparision to NaN.

Definition at line 545 of file Functional.h.

546 {
547 return std::isnan(t);
548 }

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