libstdc++
|
Functions | |
template<typename _Tp , size_t _Nm, size_t... _Idx> | |
constexpr array< remove_cv_t< _Tp >, _Nm > | std::experimental::__to_array (_Tp(&__a)[_Nm], index_sequence< _Idx... >) |
template<typename _Dest = void, typename... _Types> | |
constexpr array< typename __make_array_elem< _Dest, _Types... >::type, sizeof...(_Types)> | std::experimental::make_array (_Types &&... __t) |
template<typename _Tp , size_t _Nm> | |
constexpr array< remove_cv_t< _Tp >, _Nm > | std::experimental::to_array (_Tp(&__a)[_Nm]) noexcept(is_nothrow_constructible< remove_cv_t< _Tp >, _Tp & >::value) |
Array creation functions as described in N4529, Working Draft, C++ Extensions for Library Fundamentals, Version 2
|
constexpr |
Create a std::array from a variable-length list of arguments.
Definition at line 86 of file experimental/array.
|
constexprnoexcept |
Create a std::array from an array.
Definition at line 101 of file experimental/array.