CGAL 6.0 - Number Types
Loading...
Searching...
No Matches
CGAL::Is_valid< T > Class Template Reference

#include <CGAL/utils_classes.h>

Definition

template<typename T>
class CGAL::Is_valid< T >

Not all values of a type need to be valid.

The function object class Is_valid checks this.

For example, an expression like NT(0)/NT(0) can result in an invalid number. Routines may have as a precondition that all values are valid.

Is model of
AdaptableFunctor

Operations

bool operator() (const T &x)
 returns if the argument is valid.