forked from qt-creator/qt-creator
Debugger[New CDB]: Work on QList.
Move container size code to container.cpp/h and known type enumeration to separate knowntype.h. Add some more types. Change type detection to work without 'class '/'struct ' prefixes for inner types. Add Qt types with Movable/Primitive flags. Add QStack/QQueue, size for std::deque and std::stack. Add infrastructure for linked-list type containers and std::list. Implement QList specialisations depending on type.
This commit is contained in:
@@ -73,6 +73,8 @@ std::wstring toWString(const Streamable s)
|
||||
}
|
||||
|
||||
bool endsWith(const std::string &haystack, const char *needle);
|
||||
inline bool endsWith(const std::string &haystack, char needle)
|
||||
{ return !haystack.empty() && haystack.at(haystack.size() - 1) == needle; }
|
||||
|
||||
// Read an integer from a string as '10' or '0xA'
|
||||
template <class Integer>
|
||||
|
||||
Reference in New Issue
Block a user