Simple wrapping type around malloc, calloc and friends.
More...
#include <allocator_traits.h>
|
static void * | malloc (size_t nbytes) |
|
static void * | calloc (size_t nbytes) |
|
template<bool Zero_initialized> |
static void * | alloc (size_t size) |
|
static void * | realloc (void *ptr, size_t nbytes) |
|
static void | free (void *ptr) |
|
Simple wrapping type around malloc, calloc and friends.
◆ alloc()
template<bool Zero_initialized>
static void * ut::detail::Alloc_fn::alloc |
( |
size_t |
size | ) |
|
|
inlinestatic |
◆ calloc()
static void * ut::detail::Alloc_fn::calloc |
( |
size_t |
nbytes | ) |
|
|
inlinestatic |
◆ free()
static void ut::detail::Alloc_fn::free |
( |
void * |
ptr | ) |
|
|
inlinestatic |
◆ malloc()
static void * ut::detail::Alloc_fn::malloc |
( |
size_t |
nbytes | ) |
|
|
inlinestatic |
◆ realloc()
static void * ut::detail::Alloc_fn::realloc |
( |
void * |
ptr, |
|
|
size_t |
nbytes |
|
) |
| |
|
inlinestatic |
The documentation for this struct was generated from the following file: