68template <
typename out_t>
70 [](
auto && in) -> out_t
73 "The reference type of the input to views::convert is not convertible to out_t.");
75 if constexpr (std::convertible_to<
decltype(in) &&, out_t>)
76 return std::forward<decltype(in)>(in);
78 return static_cast<out_t
>(std::forward<decltype(in)>(in));
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:470
constexpr auto convert
A view that converts each element in the input range (implicitly or via static_cast).
Definition: convert.hpp:69
Checks whether from can be explicitly converted to to.
The SeqAn namespace for views.
Definition: char_strictly_to.hpp:22
Provides concepts that do not have equivalents in C++20.