| 60 | |
| 61 | |
| 62 | static string GetTemplateString(vector<FunctionParameter> args) |
| 63 | { |
| 64 | string name = "<"; |
| 65 | for (size_t i = 0; i < args.size(); i++) |
| 66 | { |
| 67 | if (i != 0) |
| 68 | { |
| 69 | name += ", "; |
| 70 | } |
| 71 | |
| 72 | name += args[i].name; |
| 73 | } |
| 74 | rtrim(name); |
| 75 | if (name.back() == '>') |
| 76 | name += " "; //Be c++03 compliant where we can |
| 77 | name += ">"; |
| 78 | return name; |
| 79 | } |
| 80 | |
| 81 | |
| 82 | static void ExtendTypeName(TypeBuilder& type, const string& extend) |
no test coverage detected