BioC++ core-0.7.0
The Modern C++ libraries for Bioinformatics.
 
Loading...
Searching...
No Matches
to.hpp File Reference

An implementation of C++23's std::ranges::to. More...

#include <algorithm>
#include <ranges>
#include <bio/ranges/views/detail.hpp>
+ Include dependency graph for to.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bio
 The main BioC++ namespace.
 
namespace  bio::ranges
 The ranges module's namespace.
 

Functions

template<typename container_t , typename... args_t>
constexpr auto bio::ranges::to (args_t &&... args)
 Converts a range to a container.
 
template<typename container_t , std::ranges::range rng_t, typename... args_t>
constexpr auto bio::ranges::to (rng_t &&rng, args_t &&... args)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Detailed Description

An implementation of C++23's std::ranges::to.

Author
Simon Gene Gottlieb <simon.gottlieb AT fu-berlin.de>