Timeline for Dereference template class
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 8, 2014 at 11:26 | comment | added | Frederik Aalund | @MartinDrozdik, I've made an edit to my answer that you might find interesting. | |
Nov 4, 2014 at 10:17 | comment | added | Martin Drozdik | @mattnewport I edited my question to remove the reference to the standard. Nevertheless, the iterator does not return a pair when dereferenced. | |
Nov 4, 2014 at 10:15 | comment | added | Martin Drozdik | @LokiAstari Yes, that was a mistake. I edited my question to correct this. | |
Nov 4, 2014 at 10:14 | history | edited | Martin Drozdik | CC BY-SA 3.0 |
added 318 characters in body
|
Nov 3, 2014 at 19:43 | comment | added | mattnewport | I had the same question as Loki. I was going to say from your description that the QMap iterators are just incompatible with normal C++ iterator usage if they give you no way to access the key but my reading of the documentation is the same as Loki's - dereferencing the iterators gives you a pair of the key and value exactly as you'd expect with a regular std::map. | |
Nov 3, 2014 at 16:58 | comment | added | Loki Astari |
The Q document states for QMap::begin() That Returns an STL-style iterator pointing to the first item in the map. SO why is it non standard.
|
|
Nov 3, 2014 at 11:35 | vote | accept | Martin Drozdik | ||
Nov 3, 2014 at 10:41 | answer | added | Frederik Aalund | timeline score: 7 | |
Nov 3, 2014 at 10:19 | history | edited | Martin Drozdik | CC BY-SA 3.0 |
deleted 1 character in body
|
Nov 3, 2014 at 10:05 | history | asked | Martin Drozdik | CC BY-SA 3.0 |