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
584 B
C++

#ifndef RFL_PARSING_ISVIEWREADER_HPP_
#define RFL_PARSING_ISVIEWREADER_HPP_
#include "ViewReader.hpp"
namespace rfl ::parsing {
template <class T>
class is_view_reader;
template <class T>
class is_view_reader : public std::false_type {};
template <class R, class W, class NamedTupleType, class ProcessorsType>
class is_view_reader<ViewReader<R, W, NamedTupleType, ProcessorsType>>
: public std::true_type {};
template <class T>
constexpr bool is_view_reader_v =
is_view_reader<std::remove_cvref_t<std::remove_pointer_t<T>>>::value;
} // namespace rfl::parsing
#endif