1 // Copyright 2015-2017 Hans Dembinski
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_HISTOGRAM_DETAIL_CAT_HPP
8 #define BOOST_HISTOGRAM_DETAIL_CAT_HPP
10 #include <boost/config.hpp>
16 BOOST_ATTRIBUTE_UNUSED inline void cat_impl(std::ostringstream&) {}
18 template <typename T, typename... Ts>
19 void cat_impl(std::ostringstream& os, const T& t, const Ts&... ts) {
24 template <typename... Ts>
25 std::string cat(const Ts&... args) {
26 std::ostringstream os;
27 cat_impl(os, args...);
31 } // namespace histogram