4#ifndef _Stroika_Foundation_Debug_Cast_h_
5#define _Stroika_Foundation_Debug_Cast_h_ 1
7#include "Stroika/Foundation/StroikaPreComp.h"
18namespace Stroika::Foundation::Debug {
54 template <
typename T,
typename T1>
67 template <
typename T,
typename T1>
T UncheckedDynamicCast(T1 &&arg) noexcept
return the same value as dynamic_cast<T> would have, except instead of checking nullptr,...
std::shared_ptr< T > UncheckedDynamicPointerCast(const std::shared_ptr< T1 > &arg) noexcept
Produce the same result as dynamic_pointer_cast if the successful case (non-null) - with better perfo...