![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <Enumerator.hpp>
Static Public Member Functions | |
| static long double | pred (const long double &v) |
| static double | pred (const double &v) |
| static float | pred (const float &v) |
| template<typename T> | |
| static T | pred (const T &v) |
| Return predecessor of v. | |
| static long double | succ (const long double &v) |
| static double | succ (const double &v) |
| static float | succ (const float &v) |
| template<typename T> | |
| static T | succ (const T &v) |
| Return successor of v. | |
Static Private Member Functions | |
| template<typename T> | |
| static T | fp_pred (const T &v) |
| template<typename T> | |
| static T | fp_succ (const T &v) |
succ(v) and pred(v). For all but floating point data types this is a wrapper for ++v and --v.
Definition at line 47 of file Enumerator.hpp.
| static T wns::Enumerator::fp_pred | ( | const T & | v | ) | [inline, static, private] |
Definition at line 138 of file Enumerator.hpp.
| static T wns::Enumerator::fp_succ | ( | const T & | v | ) | [inline, static, private] |
Definition at line 96 of file Enumerator.hpp.
Definition at line 77 of file Enumerator.hpp.
Definition at line 75 of file Enumerator.hpp.
| static float wns::Enumerator::pred | ( | const float & | v | ) | [inline, static] |
Definition at line 73 of file Enumerator.hpp.
| static T wns::Enumerator::pred | ( | const T & | v | ) | [inline, static] |
| v | (in) return the predecessor of this value. |
Definition at line 71 of file Enumerator.hpp.
Definition at line 63 of file Enumerator.hpp.
Definition at line 61 of file Enumerator.hpp.
| static float wns::Enumerator::succ | ( | const float & | v | ) | [inline, static] |
Definition at line 59 of file Enumerator.hpp.
| static T wns::Enumerator::succ | ( | const T & | v | ) | [inline, static] |
| v | (in) return the successor of this value. |
Definition at line 57 of file Enumerator.hpp.
1.5.5