|
qxLib
|
Go to the source code of this file.
Functions | |
| template<template< class... > class result_container_t, class input_container_t , class transform_callable_t , class... result_container_rest_t> | |
| auto | qx::transform_return (input_container_t &&input, const transform_callable_t &transformCallable) |
| std::transform equivalent that makes the code a bit shorter More... | |
Definition in file transform.inl.
| auto qx::transform_return | ( | input_container_t && | input, |
| const transform_callable_t & | transformCallable | ||
| ) |
std::transform equivalent that makes the code a bit shorter
| result_container_t | - any container type, that supports iteration and .insert(it, value) |
| input_container_t | - any container type, that supports iteration |
| transform_callable_t | - callable type, that takes input_container_t's element type, the return value of this callable forms result_container_t's element type |
| result_container_rest_t | - any types required for result_container_t after element type |
| input | - input container, may be moved |
| transformCallable | - transformation callable |
Definition at line 33 of file transform.inl.