mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-11-29 14:26:19 +08:00
19 lines
438 B
C++
19 lines
438 B
C++
#ifndef RFL_PARSING_TABULAR_MAKE_ARROW_SCHEMA_HPP_
|
|
#define RFL_PARSING_TABULAR_MAKE_ARROW_SCHEMA_HPP_
|
|
|
|
#include <type_traits>
|
|
|
|
#include "../../named_tuple_t.hpp"
|
|
#include "make_arrow_builders.hpp"
|
|
|
|
namespace rfl::parsing::tabular {
|
|
|
|
template <class T, SerializationType _s>
|
|
inline auto make_arrow_schema() {
|
|
return ArrowBuildersType<named_tuple_t<std::remove_cvref_t<T>>, _s>::schema();
|
|
}
|
|
|
|
} // namespace rfl::parsing::tabular
|
|
|
|
#endif
|