回答編集履歴
1
string と vector<int> の demangle を追加
test
CHANGED
@@ -70,6 +70,12 @@
|
|
70
70
|
|
71
71
|
cout << typeid(vector<int>).name() << ": vector<int>" << endl;
|
72
72
|
|
73
|
+
cout << "---\n";
|
74
|
+
|
75
|
+
cout << abi::__cxa_demangle("NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", 0, 0, &status) << endl;
|
76
|
+
|
77
|
+
cout << abi::__cxa_demangle("St6vectorIiSaIiEE", 0, 0, &status) << endl;
|
78
|
+
|
73
79
|
}
|
74
80
|
|
75
81
|
```
|
@@ -122,4 +128,10 @@
|
|
122
128
|
|
123
129
|
St6vectorIiSaIiEE: vector<int>
|
124
130
|
|
131
|
+
---
|
132
|
+
|
133
|
+
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
|
134
|
+
|
135
|
+
std::vector<int, std::allocator<int> >
|
136
|
+
|
125
137
|
```
|