73 template <
typename out_t>
77 "The reference type of the input to views::convert is not convertible to out_t.");
79 if constexpr (std::convertible_to<decltype(in) &&, out_t>)
80 return std::forward<decltype(in)>(in);
82 return static_cast<out_t
>(std::forward<decltype(in)>(in));
Provides concepts for core language types and relations that don't have concepts in C++20 (yet).
decltype(detail::transform< trait_t >(list_t{})) transform
Apply a transformation trait to every type in the list and return a seqan3::type_list of the results.
Definition: traits.hpp:471
constexpr auto convert
A view that converts each element in the input range (implicitly or via static_cast).
Definition: convert.hpp:74
Resolves to std::ranges::explicitly_convertible_to<type1, type2>(). <dl class="no-api">This entity i...
The SeqAn namespace for views.
Definition: char_to.hpp:22
Adaptations of concepts from the Ranges TS.