YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
cast.hpp File Reference
#include <memory>
#include <type_traits>
Include dependency graph for cast.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yaclib
 

Functions

template<typename To , typename From >
constexpr autoyaclib::UpCast (From *from) noexcept
 
template<typename To , typename From , typename = std::enable_if_t<!std::is_pointer_v<From>>>
constexpr autoyaclib::UpCast (From &from) noexcept
 
template<typename To , typename From >
constexpr autoyaclib::DownCast (From *from) noexcept
 
template<typename To , typename From >
constexpr autoyaclib::DownCast (From &from) noexcept