Loading...
Searching...
No Matches
search_common.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 <tuple>
#include <seqan3/core/platform.hpp>
namespace seqan3::detail
{
struct search_param
{
uint8_t total{};
uint8_t substitution{};
uint8_t insertion{};
uint8_t deletion{};
constexpr friend bool operator==(search_param const & lhs, search_param const & rhs) noexcept
{
return std::tie(lhs.total, lhs.substitution, lhs.insertion, lhs.deletion)
== std::tie(rhs.total, rhs.substitution, rhs.insertion, rhs.deletion);
}
constexpr friend bool operator!=(search_param const & lhs, search_param const & rhs) noexcept
{
return !(lhs == rhs);
}
};
} // namespace seqan3::detail
platform.hpp
Provides platform and dependency checks.
std::tie
T tie(T... args)
tuple
Hide me