Loading...
Searching...
No Matches
helper.hpp
Go to the documentation of this file.
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <ranges>
#include <seqan3/core/platform.hpp>
namespace seqan3::detail::view_helper
{
template <class range_t>
concept simple_view = std::ranges::view<range_t> && std::ranges::range<range_t const>
&& std::same_as<std::ranges::iterator_t<range_t>, std::ranges::iterator_t<range_t const>>
&& std::same_as<std::ranges::sentinel_t<range_t>, std::ranges::sentinel_t<range_t const>>;
template <bool is_const, typename t>
using maybe_const = std::conditional_t<is_const, t const, t>;
} // namespace seqan3::detail::view_helper
platform.hpp
Provides platform and dependency checks.
Hide me