Displaying 1 result from an estimated 1 matches for "second_char".
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...+ s += ")";
+ member_type->print_right(s);
+ }
+};
+
+struct node_or_string
+{
+ const void* first;
+ const void* second;
+
+public:
+ /* implicit */ node_or_string(string_ref str)
+ {
+ const char* first_char = str.begin();
+ const char* second_char = str.end();
+ if (second_char == nullptr) {
+ assert(first_char == second_char);
+ ++first_char, ++second_char;
+ }
+ first = static_cast<const void*>(first_char);
+ second = static_cast<const void*>(second_char);
+ }
+ /* implici...