Loading...
Searching...
No Matches
ignore_output_iterator.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 <iterator>
#include <seqan3/core/platform.hpp>
namespace seqan3::detail
{
class ignore_output_iterator
{
public:
using value_type = void;
using reference = void;
using pointer = void;
using difference_type = std::ptrdiff_t;
using iterator_category = std::output_iterator_tag;
ignore_output_iterator() = default;
ignore_output_iterator(ignore_output_iterator const &) = default;
ignore_output_iterator(ignore_output_iterator &&) = default;
ignore_output_iterator & operator=(ignore_output_iterator const &) = default;
ignore_output_iterator & operator=(ignore_output_iterator &&) = default;
~ignore_output_iterator() = default;
template <typename type>
constexpr ignore_output_iterator & operator=(type const /*v*/) noexcept
{
return *this;
}
constexpr ignore_output_iterator & operator*() noexcept
{
return *this;
}
constexpr ignore_output_iterator & operator++() noexcept
{
return *this;
}
constexpr ignore_output_iterator & operator++(int) noexcept
{
return *this;
}
};
} // namespace seqan3::detail
iterator
platform.hpp
Provides platform and dependency checks.
Hide me