PPL  0.12.1
checked_numeric_limits.hh File Reference
#include "Checked_Number.defs.hh"
#include "checked_int.inlines.hh"
#include <limits>
Include dependency graph for checked_numeric_limits.hh:

Go to the source code of this file.

Classes

class  std::numeric_limits< Checked_Number< mpz_class, Policy > >
 Partial specialization of std::numeric_limits. More...
class  std::numeric_limits< Checked_Number< mpq_class, Policy > >
 Partial specialization of std::numeric_limits. More...

Namespaces

namespace  std
 The standard C++ namespace.

Macros

#define PPL_SPECIALIZE_LIMITS_INT(T)
#define PPL_SPECIALIZE_LIMITS_FLOAT(T)

Macro Definition Documentation

#define PPL_SPECIALIZE_LIMITS_FLOAT (   T)
Value:
                \
  template <typename Policy>                                            \
  struct numeric_limits<Checked_Number<PPL_U(T), Policy> >              \
    : public numeric_limits<PPL_U(T)> {                                 \
};

Definition at line 90 of file checked_numeric_limits.hh.

#define PPL_SPECIALIZE_LIMITS_INT (   T)

Definition at line 35 of file checked_numeric_limits.hh.