|
Vowpal Wabbit
|
#include <algorithm>#include <cassert>#include <cstdlib>#include <cstring>#include <ostream>#include <string>#include <utility>#include "future_compat.h"#include "vw_exception.h"#include "memory.h"Classes | |
| struct | v_array< T, Enable > |
| struct | v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type > |
Macros | |
| #define | NOMINMAX |
Typedefs | |
| typedef v_array< unsigned char > | v_string |
Functions | |
| template<class T > | |
| v_array< T > | v_init () |
| template<class T > | |
| void | copy_array (v_array< T > &dst, const v_array< T > &src) |
| template<class T > | |
| void | copy_array_no_memcpy (v_array< T > &dst, const v_array< T > &src) |
| template<class T > | |
| void | copy_array (v_array< T > &dst, const v_array< T > &src, T(*copy_item)(const T &)) |
| template<class T > | |
| void | push_many (v_array< T > &v, const T *src, size_t num) |
| template<class T > | |
| VW_DEPRECATED ("calloc_reserve is no longer supported. You should use appropriate constructors instead. This will be removed in ""VW 9.0.") void calloc_reserve(v_array< T > &v | |
| v | reserve (length) |
| template<class T > | |
| bool | v_array_contains (const v_array< T > &A, T x) |
| template<class T > | |
| std::ostream & | operator<< (std::ostream &os, const v_array< T > &v) |
| template<class T , class U > | |
| std::ostream & | operator<< (std::ostream &os, const v_array< std::pair< T, U > > &v) |
| template<class T > | |
| VW_WARNING_STATE_PUSH VW_WARNING_DISABLE_DEPRECATED_USAGE v_array< T > | pop (v_array< v_array< T > > &stack) |
| v_string | string2v_string (const std::string &s) |
| std::string | v_string2string (const v_string &v_s) |
Variables | |
| size_t | length |
| #define NOMINMAX |
| void copy_array | ( | v_array< T > & | dst, |
| const v_array< T > & | src, | ||
| T(*)(const T &) | copy_item | ||
| ) |
| std::ostream& operator<< | ( | std::ostream & | os, |
| const v_array< T > & | v | ||
| ) |
| std::ostream& operator<< | ( | std::ostream & | os, |
| const v_array< std::pair< T, U > > & | v | ||
| ) |
| VW_WARNING_STATE_PUSH VW_WARNING_DISABLE_DEPRECATED_USAGE v_array<T> pop | ( | v_array< v_array< T > > & | stack | ) |
| void push_many | ( | v_array< T > & | v, |
| const T * | src, | ||
| size_t | num | ||
| ) |
| v reserve | ( | length | ) |
|
inline |
| bool v_array_contains | ( | const v_array< T > & | A, |
| T | x | ||
| ) |
|
inline |
|
inline |
| VW_DEPRECATED | ( | "calloc_reserve is no longer supported. You should use appropriate constructors instead. This will be removed in ""VW 9.0." | ) |
| size_t length |
1.8.11