#include <v_array.h>
template<class T >
using v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::value_type = T |
template<class T >
v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::v_array |
( |
| ) |
|
|
inlinenoexcept |
template<class T >
v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::~v_array |
( |
| ) |
|
|
inline |
template<class T >
v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::v_array |
( |
v_array< T > && |
other | ) |
|
|
inlinenoexcept |
template<class T >
v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::v_array |
( |
const v_array< T > & |
other | ) |
|
|
inline |
template<class T >
T& v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::back |
( |
| ) |
|
|
inline |
template<class T >
const T& v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::back |
( |
| ) |
const |
|
inline |
template<class T >
iterator v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::begin |
( |
| ) |
|
|
inlinenoexcept |
template<class T >
const_iterator v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::begin |
( |
| ) |
const |
|
inlinenoexcept |
template<class T >
size_t v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::capacity |
( |
| ) |
const |
|
inline |
template<class T >
const_iterator v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::cbegin |
( |
| ) |
const |
|
inlinenoexcept |
template<class T >
const_iterator v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::cend |
( |
| ) |
const |
|
inlinenoexcept |
template<class T >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::clear |
( |
| ) |
|
|
inline |
template<class T >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::clear_noshrink |
( |
| ) |
|
|
inline |
template<class T >
bool v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::contain_sorted |
( |
const T & |
ele, |
|
|
size_t & |
index |
|
) |
| |
|
inline |
template<class T >
pointer v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::data |
( |
| ) |
|
|
inlinenoexcept |
template<class T >
const_pointer v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::data |
( |
| ) |
const |
|
inlinenoexcept |
template<class T >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::delete_v |
( |
| ) |
|
|
inline |
template<class T >
template<class... Args>
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::emplace_back |
( |
Args &&... |
args | ) |
|
|
inline |
template<class T >
bool v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::empty |
( |
| ) |
const |
|
inline |
template<class T >
iterator v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::end |
( |
| ) |
|
|
inlinenoexcept |
template<class T >
const_iterator v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::end |
( |
| ) |
const |
|
inlinenoexcept |
template<class T >
iterator v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::erase |
( |
iterator |
it | ) |
|
|
inline |
Erase item at the given iterator.
- Parameters
-
it | Iterator to erase at. UB if it is nullptr or out of bounds of the v_array |
- Returns
- Iterator to item immediately following the erased element. May be equal to end()
- Note
- Invalidates iterators
Erase items from first to end. [first, end)
- Parameters
-
first | Iterator to begin erasing at. UB if it is nullptr or out of bounds of the v_array |
last | Iterator to end erasing at. UB if it is nullptr or out of bounds of the v_array |
- Returns
- Iterator to item immediately following the erased elements. May be equal to end()
- Note
- Invalidates iterators
template<class T >
size_t v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::find_sorted |
( |
const T & |
ele | ) |
const |
|
inline |
template<class T >
iterator v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::insert |
( |
iterator |
it, |
|
|
const T & |
elem |
|
) |
| |
|
inline |
Insert item into v_array directly after position.
- Parameters
-
first | Iterator to insert at. May be end(). UB if outside bounds. |
elem | Element to insert |
- Returns
- Iterator to inserted item.
- Note
- Invalidates iterators
template<class T >
iterator v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::insert |
( |
iterator |
it, |
|
|
T && |
elem |
|
) |
| |
|
inline |
Insert item into v_array directly after position.
- Parameters
-
first | Iterator to insert at. May be end(). UB if outside bounds. |
elem | Element to insert |
- Returns
- Iterator to inserted item.
- Note
- Invalidates iterators
template<class T >
template<class InputIt >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::insert |
( |
iterator |
it, |
|
|
InputIt |
first, |
|
|
InputIt |
last |
|
) |
| |
|
inline |
template<class T >
v_array<T>& v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::operator= |
( |
v_array< T > && |
other | ) |
|
|
inlinenoexcept |
template<class T >
v_array<T>& v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::operator= |
( |
const v_array< T > & |
other | ) |
|
|
inline |
template<class T >
T& v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::operator[] |
( |
size_t |
i | ) |
const |
|
inline |
template<class T >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::pop_back |
( |
| ) |
|
|
inline |
template<class T >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::push_back |
( |
const T & |
new_ele | ) |
|
|
inline |
template<class T >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::push_back_unchecked |
( |
const T & |
new_ele | ) |
|
|
inline |
template<class T >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::reserve |
( |
size_t |
length | ) |
|
|
inline |
template<class T >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::resize_but_with_stl_behavior |
( |
size_t |
length | ) |
|
|
inline |
template<class T >
void v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::shrink_to_fit |
( |
| ) |
|
|
inline |
template<class T >
size_t v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::size |
( |
| ) |
const |
|
inline |
template<class T >
size_t v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::unique_add_sorted |
( |
const T & |
new_ele | ) |
|
|
inline |
template<class T >
v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::VW_DEPRECATED |
( |
"v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::pop() is deprecated. Use pop_back(). This will be removed in VW 9.0." |
| ) |
|
|
inline |
template<class T >
v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::VW_DEPRECATED |
( |
"v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::last() is deprecated. Use back(). This will be removed in VW 9.0." |
| ) |
const |
|
inline |
template<class T >
v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::VW_DEPRECATED |
( |
"v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::decr() is deprecated. Use pop_back(). This will be removed in VW 9.0." |
| ) |
|
|
inline |
template<class T >
v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::VW_DEPRECATED |
( |
"v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::incr() is deprecated. Use push_back(). This will be removed in VW 9.0." |
| ) |
|
|
inline |
template<class T >
v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::VW_DEPRECATED |
( |
"v_array< T, typename std::enable_if< std::is_trivially_copyable< T >::value >::type >::resize() is deprecated. Use reserve() instead. For standard resize |
behavior, |
|
|
use" "resize_but_with_stl_behavior().This will be removed in VW 9.0." |
|
|
) |
| |
|
inline |
The documentation for this struct was generated from the following file:
- /__w/vowpal_wabbit/vowpal_wabbit/vowpalwabbit/v_array.h