forked from qt-creator/qt-creator
Debugger[new CDB]: Add support for more core types.
Structures with accessible members.
This commit is contained in:
@@ -63,6 +63,15 @@ std::string toString(const Streamable s)
|
||||
return str.str();
|
||||
}
|
||||
|
||||
// Format numbers, etc, as a wstring.
|
||||
template <class Streamable>
|
||||
std::wstring toWString(const Streamable s)
|
||||
{
|
||||
std::wostringstream str;
|
||||
str << s;
|
||||
return str.str();
|
||||
}
|
||||
|
||||
bool endsWith(const std::string &haystack, const char *needle);
|
||||
|
||||
// Read an integer from a string as '10' or '0xA'
|
||||
|
||||
Reference in New Issue
Block a user