| 62 | }; |
| 63 | |
| 64 | struct test_visitor_ptr { |
| 65 | std::vector<spair> result; |
| 66 | |
| 67 | template <typename C> |
| 68 | void operator()(const char* name, int C::*) { |
| 69 | result.emplace_back(spair{std::string{name}, "int"}); |
| 70 | } |
| 71 | |
| 72 | template <typename C> |
| 73 | void operator()(const char* name, float C::*) { |
| 74 | result.emplace_back(spair{std::string{name}, "float"}); |
| 75 | } |
| 76 | |
| 77 | template <typename C> |
| 78 | void operator()(const char* name, std::string C::*) { |
| 79 | result.emplace_back(spair{std::string{name}, "std::string"}); |
| 80 | } |
| 81 | }; |
| 82 | |
| 83 | struct test_visitor_type { |
| 84 | std::vector<spair> result; |
nothing calls this directly
no outgoing calls
no test coverage detected