]> git.tdb.fi Git - libs/core.git/blob - source/core/maputils.cpp
28739f05ca86c59a3419e3d1f1f2dfe6c93539b7
[libs/core.git] / source / core / maputils.cpp
1 #include <msp/debug/demangle.h>
2 #include <msp/strings/format.h>
3 #include "maputils.h"
4
5 using namespace std;
6
7 namespace Msp {
8
9 string key_error::make_what(const type_info &type, const string &value)
10 {
11         return format("%s(%s)", Debug::demangle(type.name()), value);
12 }
13
14 } // namespace Msp