Files
Emily Boudreaux ec13264050 feat(reflect-cpp): Switched from glaze -> reflect cpp
A bug was discovered in glaze which prevented valid toml output. We have
switched to toml++ and reflect-cpp. The interface has remained the same
so this should not break any code
2025-12-06 10:55:46 -05:00

25 lines
570 B
C++

#ifndef RFL_TUPLE_CAT_HPP_
#define RFL_TUPLE_CAT_HPP_
#include "Tuple.hpp"
#include "internal/tuple/concat.hpp"
namespace rfl {
template <class Head, class... Tail>
auto tuple_cat(const Head& _head, const Tail&... _tail) {
return internal::tuple::concat(_head, _tail...);
}
template <class Head, class... Tail>
auto tuple_cat(Head&& _head, Tail&&... _tail) {
return internal::tuple::concat(std::forward<Head>(_head),
std::forward<Tail>(_tail)...);
}
inline auto tuple_cat() { return rfl::Tuple(); }
} // namespace rfl
#endif