LibreOffice Module o3tl (master) 1
Namespaces | Functions
make_shared.hxx File Reference
#include <o3tl/deleter.hxx>
#include <memory>
#include <type_traits>
Include dependency graph for make_shared.hxx:

Go to the source code of this file.

Namespaces

namespace  o3tl
 

Functions

template<typename T >
std::shared_ptr< T > o3tl::make_shared_array (size_t const size)
 Allocate an array stored in a shared_ptr, calling operator delete[]. More...
 
template<class T , class... Args>
std::shared_ptr< T > o3tl::make_shared (Args &&... args)
 To markup std::shared_ptr that coverity warns might throw exceptions which won't throw in practice, or where std::terminate is an acceptable response if they do. More...