xieite ::type_list <Ts ...>::as_fn <>
Defined in fragment xieite :type_list
(header-only:
<xieite/meta/type_list.hpp>
)
Creates a function signature with a passed type as the return type and the elements of a
xieite ::type_list
as the parameter types.Must not be used if the
xieite ::type_list
contains void
types.Declaration
template <typename Ret >using as_fn =/* Ret(Ts...) */
Example
Possible output:import xieite ;int main () {using List =xieite ::type_list <int ,char >;xieite ::dump (xieite ::name <List ::as_fn <void >>()); }
[View in Compiler Explorer]void(int, char)