Changeset 777 for trunk/src/corelib/io


Ignore:
Timestamp:
Aug 4, 2010, 6:17:26 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: Added QDebugFmt<const T*> qDebugFmt(const T *val) to put pointers to the debug stream formatted as "%p".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qdebug.h

    r651 r777  
    269269}
    270270
     271
     272
     273
    271274inline QDebugFmt<char> qDebugFmtHex(const char &val) { return qDebugFmt("0x%02X", val); }
    272275inline QDebugFmt<char> qDebugFmtHex(const uchar &val) { return qDebugFmtHex(reinterpret_cast<const char &>(val)); }
Note: See TracChangeset for help on using the changeset viewer.