AsmGrader 0.0.0
Loading...
Searching...
No Matches
asmgrader::to_static_container_fn< Container > Struct Template Reference

Range adaptor function to convert a range to a static (sized at compile time) container, like std::array, std::tuple, etc. More...

#include <to_static_range.hpp>

Public Member Functions

template<ranges::input_range Rng>
requires (ranges::sized_range<Rng>)
constexpr auto operator() (Rng &&rng) const
 

Detailed Description

template<ranges::range Container>
requires (HasStaticSize<Container>)
struct asmgrader::to_static_container_fn< Container >

Range adaptor function to convert a range to a static (sized at compile time) container, like std::array, std::tuple, etc.

Member Function Documentation

◆ operator()()

template<ranges::range Container>
template<ranges::input_range Rng>
requires (ranges::sized_range<Rng>)
auto asmgrader::to_static_container_fn< Container >::operator() ( Rng && rng) const
inlineconstexpr

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