use runtime function to pretty print type name

This commit is contained in:
Johannes Kapfhammer 2019-10-06 20:56:37 +02:00
parent 492a0f3c55
commit daeda942ad
2 changed files with 57 additions and 88 deletions

View file

@ -15,5 +15,7 @@ signed main() {
dbg(vector<pair<int, vector<string>>>{{3,{"hi"}},{4,{"hello", "world"}}});
dbg(set<int>{3,1,4});
dbg(map<int, string>{{3,"three"},{1,"one"}});
dbg(unordered_map<int, string>{{3,"three"},{1,"one"}});
dbg(unordered_set<int>{3,1,4});
cout << "hi\n";
}