Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
v_array.h File Reference
#include "vw/common/future_compat.h"
#include "vw/common/vw_exception.h"
#include "vw/core/memory.h"
#include <algorithm>
#include <cassert>
#include <ostream>
#include <type_traits>
#include <utility>

Classes

class  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

namespace  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>