Jamba C++ API  6.3.0
pongasoft::stl Namespace Reference

Namespaces

 impl
 

Functions

template<typename T , typename U , typename F , std::size_t N, typename Indices = std::make_index_sequence<N>>
constexpr std::array< U, N > transform (std::array< T, N > const &a, F &&f)
 Transforms an array containing elements of type T into an array containing elements of type U by applying the function 'f' (which should convert an element of type T into an element of type U More...
 

Function Documentation

◆ transform()

constexpr std::array<U, N> pongasoft::stl::transform ( std::array< T, N > const &  a,
F &&  f 
)

Transforms an array containing elements of type T into an array containing elements of type U by applying the function 'f' (which should convert an element of type T into an element of type U