This is a diagnostic overload used to prevent v_array from being used with types that are not trivially copyable.
More...
template<typename T, typename Enable = void>
class 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.
- 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 class 'v_array<...,void>' that means the type is not trivially copyable and cannot be used with v_array.
The documentation for this class was generated from the following file:
- /nix/store/2saqbz278bj3pvhbfxlcc50cjbvs3h0h-source/vowpalwabbit/core/include/vw/core/v_array.h