This is a diagnostic overload used to prevent v_array from being used with types that are not trivially copyable.
More...
#include <v_array.h>
template<typename T, typename Enable = void>
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.
- Template Parameters
-
T | Element type |
Enable | Used to check if T is trivially_copyable |
- Note
- If you get an error message saying that x uses undefined struct 'v_array<...,void>' that means the type is not trivially copyable and cannot be used with v_array.
The documentation for this struct was generated from the following file:
- /__w/vowpal_wabbit/vowpal_wabbit/vowpalwabbit/v_array.h