Similar to to_fn, but accepts a template-template as argument, e.g.: to_fn<vector> instead of to_fn<vector<int>>.
More...
#include <seqan3/utility/range/to.hpp>
|
template<std::ranges::input_range rng_t, typename... args_t> |
constexpr auto | operator() (rng_t &&rng, args_t &&... args) const |
| Converts a template-template into a container. More...
|
|
template<template< typename > typename container_t>
struct seqan3::detail::to_template_template_fn< container_t >
Similar to to_fn, but accepts a template-template as argument, e.g.: to_fn<vector> instead of to_fn<vector<int>>.
◆ operator()()
template<template< typename > typename container_t>
template<std::ranges::input_range rng_t, typename... args_t>
Converts a template-template into a container.
- Template Parameters
-
rng_t | The type of the range being processed. |
args_t | The types of the arguments for the constructor. |
- Parameters
-
rng | The range being processed. |
args | Arguments to pass to the constructor of the container. |
The documentation for this struct was generated from the following file: