OpenClonk
StdMeshLoaderBinaryChunks.cpp File Reference
Include dependency graph for StdMeshLoaderBinaryChunks.cpp:

Go to the source code of this file.

Namespaces

 Ogre
 
 Ogre::Mesh
 
 Ogre::Skeleton
 

Functions

template<typename To , typename From >
std::unique_ptr< To > static_unique_cast (From &&p)
 

Function Documentation

◆ static_unique_cast()

template<typename To , typename From >
std::unique_ptr<To> static_unique_cast ( From &&  p)

Definition at line 21 of file StdMeshLoaderBinaryChunks.cpp.

21  {
22  return std::unique_ptr<To>(static_cast<To*>(p.release()));
23 }