stlab.adobe.com Adobe Systems Incorporated

Conversions
[Utility]


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 lht into one of type rht.
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.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google