Vowpal Wabbit
Classes | Namespaces | Typedefs
v_array.h File Reference
#include "future_compat.h"
#include "memory.h"
#include "vw_exception.h"
#include <cassert>
#include <ostream>
#include <type_traits>
#include <utility>
#include "vw_fwd.h"

Classes

struct  VW::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  VW::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...
 

Namespaces

 VW
 

Typedefs

template<typename T >
using v_array = VW::v_array< T >
 

Typedef Documentation

◆ v_array

template<typename T >
using v_array = VW::v_array<T>