Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
1.1 kB · 45 lines
C++
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546////////////////////////////////////////////////////////////////////////////////// (C) Copyright Ion Gaztanaga 2005. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt)////////////////////////////////////////////////////////////////////////////////
#ifndef BOOST_POINTER_CAST_HPP#define BOOST_POINTER_CAST_HPP
namespace boost {
//static_pointer_cast overload for raw pointerstemplate<class T, class U>inline T* static_pointer_cast(U *ptr){ return static_cast<T*>(ptr);}
//dynamic_pointer_cast overload for raw pointerstemplate<class T, class U>inline T* dynamic_pointer_cast(U *ptr){ return dynamic_cast<T*>(ptr);}
//const_pointer_cast overload for raw pointerstemplate<class T, class U>inline T* const_pointer_cast(U *ptr){ return const_cast<T*>(ptr);}
//reinterpret_pointer_cast overload for raw pointerstemplate<class T, class U>inline T* reinterpret_pointer_cast(U *ptr){ return reinterpret_cast<T*>(ptr);}
} // namespace boost
#endif //BOOST_POINTER_CAST_HPP