| 986 | } |
| 987 | |
| 988 | inline std::string reflect_list(jitify::detail::vector<std::string> const& args, |
| 989 | std::string opener = "", |
| 990 | std::string closer = "") { |
| 991 | std::stringstream ss; |
| 992 | ss << opener; |
| 993 | for (int i = 0; i < (int)args.size(); ++i) { |
| 994 | if (i > 0) ss << ","; |
| 995 | ss << args[i]; |
| 996 | } |
| 997 | ss << closer; |
| 998 | return ss.str(); |
| 999 | } |
| 1000 | |
| 1001 | // Template instantiation reflection |
| 1002 | // inline std::string reflect_template(std::vector<std::string> const& args) { |
no outgoing calls
no test coverage detected