15 #ifndef SCENARIO_SIMULATOR_EXCEPTION__CONCATENATE_HPP_
16 #define SCENARIO_SIMULATOR_EXCEPTION__CONCATENATE_HPP_
25 inline namespace scenario_simulator_exception
28 auto write = [](
auto && os,
auto && x) {
29 os.get() << std::forward<decltype(x)>(x);
30 return std::forward<decltype(os)>(os);
32 std::stringstream result;
33 fold_left(write, std::ref(result), std::forward<decltype(
xs)>(
xs)...);
constexpr decltype(auto) fold_left(F &&, T &&x)
Definition: fold.hpp:26
auto concatenate
Definition: concatenate.hpp:27
Definition: concatenate.hpp:24
Definition: junit5.hpp:25