Vowpal Wabbit
|
#include <algorithm>
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <ostream>
#include <string>
#include <utility>
#include <type_traits>
#include "vw_exception.h"
#include "memory.h"
Classes | |
struct | v_array< T, Enable > |
This is a diagnostic overload used to prevent v_array from being used with types that are not trivially copyable. More... | |
struct | v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type > |
v_array is a container type that makes use of realloc for efficiency. However, it is only safe to use trivially copyable types, as std::realloc may do a memcpy if a new piece of memory must be allocated. More... | |
Macros | |
#define | NOMINMAX |
Functions | |
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) |
#define NOMINMAX |
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 | ||
) |