libcopp 2.3.1
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Namespaces | Functions
allocator_ptr.h File Reference
#include <memory>
#include "libcopp/utils/config/compile_optimize.h"
#include "libcopp/utils/config/libcopp_build_features.h"
#include "libcopp/utils/nostd/type_traits.h"
Include dependency graph for allocator_ptr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  memory::allocated_ptr< Alloc >
 Non-standard RAII type for managing pointers obtained from allocators. More...
 

Namespaces

namespace  memory
 

Functions

template<class Alloc >
LIBCOPP_UTIL_SYMBOL_VISIBLE allocated_ptr< Alloc > memory::allocate_guarded (Alloc &a)
 Allocate space for a single object using a.