|
Vowpal Wabbit
|
#include <cstdlib>#include <cstdio>#include <iostream>#include <memory>#include "vw_exception.h"Namespaces | |
| VW | |
| [Error Generator] | |
Macros | |
| #define | calloc_mergable_or_throw calloc_or_throw |
Typedefs | |
| using | free_fn = void(*)(void *) |
| template<class T > | |
| using | free_ptr = std::unique_ptr< T, free_fn > |
Functions | |
| template<class T > | |
| T * | calloc_or_throw (size_t nmemb) |
| template<class T > | |
| T & | calloc_or_throw () |
| template<class T > | |
| void | destroy_free (void *temp) |
| template<class T , typename... Args> | |
| free_ptr< T > | scoped_calloc_or_throw (Args &&...args) |
| template<typename T , typename... Args> | |
| std::unique_ptr< T > | VW::make_unique (Args &&...params) |
| void | free_it (void *ptr) |
| #define calloc_mergable_or_throw calloc_or_throw |
| using free_fn = void (*)(void*) |
| T* calloc_or_throw | ( | size_t | nmemb | ) |
| T& calloc_or_throw | ( | ) |
| void destroy_free | ( | void * | temp | ) |
|
inline |
| free_ptr<T> scoped_calloc_or_throw | ( | Args &&... | args | ) |
1.8.11