Skip to content

Commit 4cbca18

Browse files
committed
🐛 Qualify use of stdx::tuple_cat
Problem: - Attempting to instantiate `std::tuple_cat` on `stdx::tuple` can lead to errors because `std::tuple_size` is not defined. Solution: - Qualify use of `tuple_cat`.
1 parent 130fb59 commit 4cbca18

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/stdx/ct_format.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ constexpr auto operator+(format_result<Str1, Args1, Spans1> r1,
243243
format_result<Str2, Args2, Spans2> r2) {
244244
return make_format_result<boost::mp11::mp_append<
245245
Spans1, detail::apply_offset<r1.str.size(), Spans2>>>(
246-
r1.str + r2.str, tuple_cat(std::move(r1.args), std::move(r2.args)));
246+
r1.str + r2.str,
247+
stdx::tuple_cat(std::move(r1.args), std::move(r2.args)));
247248
}
248249

249250
template <typename T, T...> struct null_output;

0 commit comments

Comments
 (0)