Displaying 1 result from an estimated 1 matches for "string_pair".
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...{
+ s += "\'lambda";
+ s += count;
+ s += "\'(";
+ for (size_t i = 0; i < nparams; ++i)
+ {
+ if (i) s += ", ";
+ params[i]->print(s);
+ }
+ s += ")";
+ }
+};
+
+struct string_pair : public node
+{
+ string_ref first;
+ string_ref second;
+
+public:
+ string_pair(string_ref first, string_ref second)
+ : first(first), second(second) {}
+
+ void print_left(stream& s) const override
+ {
+ s += first;
+ s += second;
+ }
+};
+
+} // n...