Template Function parrot::array(std::initializer_list<T>)#
Defined in File parrot.hpp
Function Documentation#
-
template<typename T>
auto parrot::array(std::initializer_list<T> init_list)# Create a fusion_array from an initializer list with automatic type deduction.
- Template Parameters:
T – The element type (automatically deduced)
- Parameters:
init_list – The initializer list containing the array elements
- Returns:
A fusion_array containing the initializer list’s data on the device