TermOx
|
Read only Container view that applies transformation to elements at access. More...
#include <transform_view.hpp>
Public Types | |
using | Reference = std::invoke_result_t< Map_fn, typename Container::reference > |
using | Reference_const = std::invoke_result_t< Map_fn, typename Container::const_reference > |
Read only Container view that applies transformation to elements at access.
Container is assumed to have a vector like interface. Transformation is applied at iterator dereference and operator[]. This is a non-owning view, relies on passed in container being alive as long as this view is.\