Zserio C++ runtime library  1.1.0
Built for Zserio 2.15.0
UniquePtr.h File Reference
#include <memory>
#include <type_traits>
#include "zserio/AllocatorHolder.h"
#include "zserio/RebindAlloc.h"

Go to the source code of this file.

Namespaces

 zserio
 

Typedefs

template<typename T , typename ALLOC = std::allocator<T>>
using zserio::unique_ptr = std::unique_ptr< T, detail::UniquePtrDeleter< ALLOC > >
 

Functions

template<typename T , typename ALLOC , class... Args>
zserio::unique_ptr< T, RebindAlloc< ALLOC, T > > zserio::allocate_unique (const ALLOC &allocator, Args &&... args)