Open CASCADE Technology 7.8.2.dev
Standard_MemoryUtils.hxx File Reference
#include <NCollection_Allocator.hxx>
#include <NCollection_OccAllocator.hxx>
#include <memory>

Namespaces

namespace  opencascade
 Namespace opencascade is intended for low-level template classes and functions.
 

Functions

template<class T , class... Args>
std::shared_ptr< T > opencascade::make_shared (Args &&... theArgs)
 
template<class T , class... Args>
std::shared_ptr< T > opencascade::make_oshared (const Handle< NCollection_BaseAllocator > &theAlloc, Args &&... theArgs)
 
template<class T , class... Args>
std::shared_ptr< T > opencascade::make_oshared (const NCollection_OccAllocator< T > &theAlloc, Args &&... theArgs)
 
template<class T , class... Args>
std::shared_ptr< T > opencascade::make_oshared (NCollection_OccAllocator< T > &&theAlloc, Args &&... theArgs)
 
template<typename T , class... Args>
std::unique_ptr< T > opencascade::make_unique (Args &&... theArgs)