| 49 | using spair = std::pair<std::string, std::string>; |
| 50 | |
| 51 | struct test_visitor_one { |
| 52 | std::vector<spair> result; |
| 53 | |
| 54 | void operator()(const char * name, const std::string & s) { |
| 55 | result.emplace_back(spair{std::string{name}, s}); |
| 56 | } |
| 57 | |
| 58 | template <typename T> |
| 59 | void operator()(const char * name, const T & t) { |
| 60 | result.emplace_back(spair{std::string{name}, std::to_string(t)}); |
| 61 | } |
| 62 | }; |
| 63 | |
| 64 | struct test_visitor_ptr { |
| 65 | std::vector<spair> result; |
nothing calls this directly
no outgoing calls
no test coverage detected