Conversions
| ||||||||||||||||||||||||||||||||||||
Classes | |
| class | promote |
| A struct for compile-time type promotion. More... | |
Functions | |
| template<typename lht, typename rht> | |
| lht | explicit_cast (const rht &rhs) |
| template<typename T> | |
| T & | remove_const (const T &x) |
Function Documentation
| lht explicit_cast | ( | const rht & | rhs | ) |
- Parameters:
-
rhs The object to be cast to type lhs
- Returns:
- The explicit cast of one object with type
lhtinto one of typerht.
- Complexity Guarantees:
- Constant.
Definition at line 45 of file conversion.hpp.
| T & remove_const | ( | const T & | x | ) |
- Parameters:
-
x The const variable from which constness is to be removed.
- Returns:
- A non-const reference to
x.
- Complexity Guarantees:
- Constant.
Definition at line 75 of file conversion.hpp.

