arraybolt3_wc | 5QListI14QSharedPointerIN14NetworkManager6DeviceEEE mmm, that's my idea of a nice, readable way to write "QList<QSharedPointer<NetworkManager::Device>>" :P | 02:04 |
---|---|---|
arraybolt3_wc | just had to use typeid() to figure out whether or not NetworkManager::Device::List returned device objects or pointers to device objects, since you can use polymorphism with the latter but not with the former. | 02:05 |
arraybolt3_wc | Sometimes C++ is a bit involved... | 02:05 |
tsimonq2 | Hah, I love it. | 14:32 |
* arraybolt3_wc would like to have a conversation with the person who decided chars could sometimes be signed in C++ | 19:46 | |
arraybolt3_wc | I did NOT expect to run into negative values when dealing with raw byte data. | 19:46 |
arraybolt3_wc | (trying to display device cloned MAC addresses to the user, wrote a handy macToString() function and then discovered I needed to wrap some things in uchar() calls to avoid having it go wonky) | 19:47 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!