cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Explicit cast, and explicit_cast
conversion operator for C++03Interfaces defined in this header:
More...
Namespaces | |
cxxomfort | |
Namespace of the cxxomfort library. | |
Functions | |
template<typename T , typename F > | |
T | explicit_cast (F f) |
Explicitly cast an object of type F to a type TThis pseudo-keyword performs an explicit -using cast on an object f to a target type T . This is implemented via a passthrough-only holder type, that in C++11 uses move operation to construct when available. | |
Explicit cast, and explicit_cast
conversion operator for C++03
Interfaces defined in this header:
explicit_cast (as a synonym in C++11)CXXO_EXPLICIT_OPERATOR