DxLibEx
cast_if.hpp File Reference
#include "dxlibex/config/defines.h"
#include <utility>
Include dependency graph for cast_if.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dxle::detail::static_cast_if_helper< from, to, do_cast, is_nothrow_move_constructible >
 
struct  dxle::detail::static_cast_if_helper< to, from, false, false >
 
struct  dxle::detail::static_cast_if_helper< to, from, false, true >
 

Namespaces

 dxle
 
 dxle::detail
 

Functions

template<typename from , typename to , bool do_cast>
DXLE_CONSTEXPR to dxle::static_cast_if (const from &n) DXLE_NOEXCEPT_IF_EXPR((dxle
 
template<typename from , typename to , bool do_cast>
DXLE_CONSTEXPR to dxle::static_cast_if (from &&n) DXLE_NOEXCEPT_IF_EXPR((dxle