WPILibC++ 2024.3.2
|
This class is a wrapper around std::array that does compile time size checking. More...
#include <wpi/array.h>
Public Member Functions | |
constexpr | array (empty_array_t) |
template<std::convertible_to< T >... Ts> requires (1 + sizeof...(Ts) == N) | |
constexpr | array (T arg, Ts &&... args) |
constexpr | array (const array< T, N > &)=default |
constexpr array & | operator= (const array< T, N > &)=default |
constexpr | array (array< T, N > &&)=default |
constexpr array & | operator= (array< T, N > &&)=default |
constexpr | array (const std::array< T, N > &rhs) |
constexpr array & | operator= (const std::array< T, N > &rhs) |
constexpr | array (std::array< T, N > &&rhs) |
constexpr array & | operator= (std::array< T, N > &&rhs) |
This class is a wrapper around std::array that does compile time size checking.
std::array's implicit constructor can result in uninitialized elements if the number of arguments doesn't match the std::array size.
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |