mini-llvm 0.1.0
Loading...
Searching...
No Matches
Memory.h File Reference
#include <memory>
Include dependency graph for Memory.h:

Go to the source code of this file.

Namespaces

namespace  mini_llvm

Functions

template<typename To, typename From>
std::unique_ptr< To > mini_llvm::cast (std::unique_ptr< From > from) noexcept
template<typename To, typename From>
std::shared_ptr< To > mini_llvm::cast (std::shared_ptr< From > from) noexcept
template<typename To, typename From>
std::weak_ptr< To > mini_llvm::cast (std::weak_ptr< From > from) noexcept
template<typename T>
std::shared_ptr< T > mini_llvm::share (T &value)
template<typename T>
std::weak_ptr< T > mini_llvm::weaken (T &value)