stlab.adobe.com Adobe Systems Incorporated

Conversions
[Utility]

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)

Function Documentation

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 Guarantees:
Constant.

Definition at line 55 of file conversion.hpp.

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 Guarantees:
Constant.

Definition at line 85 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