Loading...
Searching...
No Matches
to_string.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 <sstream>
#include <seqan3/core/debug_stream/debug_stream_type.hpp>
namespace seqan3::detail
{
template <typename... value_type>
std::string to_string(value_type &&... values)
{
std::stringstream stream;
debug_stream_type dstream{stream};
(dstream << ... << std::forward<value_type>(values));
return stream.str();
}
} // namespace seqan3::detail
debug_stream_type.hpp
Provides seqan3::debug_stream and related types.
std::forward
T forward(T... args)
sstream
std::stringstream::str
T str(T... args)
Hide me