blob: 4ee70c169aa069372f69bde0bb14830252290aa1 [file] [log] [blame]
#pragma once
#include "utils/labeled_tuple.hpp"
#include <iomanip>
namespace utils
{
template <class... Args, class... Labels>
inline void
PrintTo(const LabeledTuple<std::tuple<Args...>, Labels...>& labeledTuple,
std::ostream* os)
{
nlohmann::json json;
to_json(json, labeledTuple);
(*os) << std::setw(2) << json;
}
} // namespace utils