Jamba C++ API  6.2.0
stl.h File Reference
#include <array>

Go to the source code of this file.

Namespaces

 pongasoft
 
 pongasoft::stl
 
 pongasoft::stl::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...
 
template<typename T , typename U , typename F , std::size_t N, std::size_t... I>
constexpr std::array< U, N > transformArray (std::array< T, N > const &a, F &&f, std::index_sequence< I... >)