SeqAn3 3.3.0-rc.1
The Modern C++ library for sequence analysis.
 
Loading...
Searching...
No Matches
seqan3::detail::to_template_template_fn< container_t > Struct Template Reference

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>

Public Member Functions

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.
 

Detailed Description

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>>.

Member Function Documentation

◆ operator()()

template<template< typename > typename container_t>
template<std::ranges::input_range rng_t, typename... args_t>
constexpr auto seqan3::detail::to_template_template_fn< container_t >::operator() ( rng_t &&  rng,
args_t &&...  args 
) const
inlineconstexpr

Converts a template-template into a container.

Template Parameters
rng_tThe type of the range being processed.
args_tThe types of the arguments for the constructor.
Parameters
rngThe range being processed.
argsArguments to pass to the constructor of the container.

The documentation for this struct was generated from the following file: