#include <asmgrader/meta/static_size.hpp>
#include <libassert/assert.hpp>
#include <range/v3/algorithm/copy.hpp>
#include <range/v3/iterator/access.hpp>
#include <range/v3/range/access.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/range/conversion.hpp>
#include <range/v3/range/primitives.hpp>
#include <range/v3/range/traits.hpp>
#include <range/v3/view/view.hpp>
#include <array>
#include <cstddef>
#include <utility>
Go to the source code of this file.
|
template<ranges::range StaticallySizedContainer>
requires (HasStaticSize<StaticallySizedContainer>) |
| constexpr auto | asmgrader::static_to () |
| | A pipeable adaptor to convert to any static container. Just like ranges::to, but statically sized.
|
| |
| template<std::size_t N, template< typename, std::size_t > typename ArrayLike> |
| constexpr auto | asmgrader::static_to () |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Specify a static size and an "array-like" class template to convert to.
|
| |
| template<std::size_t N> |
| constexpr auto | asmgrader::to_array () |
| | A pipeable adaptor to a std::array.
|
| |
| template<ranges::range Container> |
| constexpr auto | asmgrader::maybe_static_to () |
| | A pipeable adaptor to convert to any container, statically or dynamically sized. Internally uses static_to for supported containers, and ranges::to for all others.
|
| |