cxxomfort  rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
Namespaces | Functions
explicit_cast.hpp File Reference

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 >
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.
 

Detailed Description

Explicit cast, and explicit_cast conversion operator for C++03

Interfaces defined in this header: