E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ convert

eve::algo::views::convert

#include <eve/module/algo/algo/views/convert.hpp>

struct eve::algo::views::convert_ convert
Takes an iterator or a range and returns an adapter that has a provided value type.
Lightweight type-wrapper.
Definition: as.hpp:29

Behaviour for a specific iterator/range can be customized via tagged dispatch:

template <typename T>
EVE_FORCEINLINE friend auto tagged_dispatch(eve::algo::views::convert_, my_rng self, eve::as<T> tgt);

Required header: #include <eve/module/algo/algo/views/convert.hpp>

Has a shorthand eve::views::convert in <eve/views/convert.hpp>.