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
26 lines
489 B
C++
26 lines
489 B
C++
#ifndef RFL_INTERNAL_REMOVE_PTRS_TUP_HPP_
|
|
#define RFL_INTERNAL_REMOVE_PTRS_TUP_HPP_
|
|
|
|
#include <type_traits>
|
|
|
|
#include "../Tuple.hpp"
|
|
#include "../to_named_tuple.hpp"
|
|
#include "ptr_tuple_t.hpp"
|
|
|
|
namespace rfl {
|
|
namespace internal {
|
|
|
|
template <class T>
|
|
struct remove_ptrs_tup;
|
|
|
|
template <class... Ts>
|
|
struct remove_ptrs_tup<rfl::Tuple<Ts...>> {
|
|
using TupleType =
|
|
rfl::Tuple<std::remove_cvref_t<std::remove_pointer_t<Ts>>...>;
|
|
};
|
|
|
|
} // namespace internal
|
|
} // namespace rfl
|
|
|
|
#endif
|