LibreOffice Module o3tl (master) 1
|
#include <cassert>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | o3tl |
Functions | |
template<typename DerivedPtr , typename BasePtr > | |
std::enable_if_t<(std::is_pointer_v< DerivedPtr > &&std::is_pointer_v< BasePtr > &&std::is_base_of_v< std::remove_pointer_t< BasePtr >, std::remove_pointer_t< DerivedPtr > >), DerivedPtr > | o3tl::unsafe_downcast (BasePtr p) |