21 #include <boost/archive/text_iarchive.hpp>
22 #include <boost/archive/text_oarchive.hpp>
23 #include <boost/serialization/optional.hpp>
26 namespace serialization {
67 template <
class Archive,
class T>
157 if constexpr (std::is_same_v<::boost::archive::text_iarchive, Archive>) {
159 boost::optional<T> boost_opt;
170 static_assert(std::is_same_v<::boost::archive::text_oarchive, Archive>);
171 boost::optional<T> boost_opt;
void serialize(Archive &ar, RegisteredQueryHint &query_hint, const unsigned int version)