Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches

Classes

class  promote< T >
 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)

Detailed Description

Function Documentation

◆ explicit_cast()

template<typename lht, typename rht>
lht explicit_cast ( const rht & rhs)
Parameters
rhsThe object to be cast to type lhs
Returns
The explicit cast of one object with type lht into one of type rht.
Complexity Guarantee(s)
Constant.

Definition at line 37 of file conversion.hpp.

◆ remove_const()

template<typename T>
T & remove_const ( const T & x)
Parameters
xThe const variable from which constness is to be removed.
Returns
A non-const reference to x.
Complexity Guarantee(s)
Constant.

Definition at line 70 of file conversion.hpp.