Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
doctest::IsNaN< F > Struct Template Reference

#include <doctest.h>

Public Member Functions

 IsNaN (F f, bool flip=false)
 
IsNaN< F > operator! () const
 
 operator bool () const
 

Data Fields

value
 
bool flipped
 

Detailed Description

template<typename F>
struct doctest::IsNaN< F >

Definition at line 1292 of file doctest.h.

Constructor & Destructor Documentation

◆ IsNaN()

template<typename F >
doctest::IsNaN< F >::IsNaN ( F f,
bool flip = false )
inline

Definition at line 1295 of file doctest.h.

1295: value(f), flipped(flip) { }

Member Function Documentation

◆ operator bool()

template<typename F >
doctest::IsNaN< F >::operator bool ( ) const

◆ operator!()

template<typename F >
IsNaN< F > doctest::IsNaN< F >::operator! ( ) const
inline

Definition at line 1296 of file doctest.h.

1296{ return { value, !flipped }; }

References value.

Field Documentation

◆ flipped

template<typename F >
bool doctest::IsNaN< F >::flipped

Definition at line 1294 of file doctest.h.

◆ value

template<typename F >
F doctest::IsNaN< F >::value

Definition at line 1294 of file doctest.h.


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