fdbe357e4b
Define "pointer", "reference", "difference_type" and "iterator_category" typedefs to ensure that wxList iterator classes are seen as iterators by the standard library in C++11 and later, as otherwise standard container template ctors taking iterators couldn't be used with them because they're only available if input iterator requirements are satisfied. This notably fixes creation of std::list from wxList iterators; add a test which didn't compile before to show it. |
||
---|---|---|
.. | ||
lists.cpp |