#include #include #include namespace test_optional { struct Person { std::string name; std::optional> spouse; }; TEST(generic, test_optional) { rfl::Generic generic; // This failed to compile due to optional copying rather than moving rfl::from_generic(generic); } } // namespace test_map