¡@

Home 

c++ Programming Glossary: dir_iterator

How might I wrap the FindXFile-style APIs to the STL-style Iterator Pattern in C++?

http://stackoverflow.com/questions/2531874/how-might-i-wrap-the-findxfile-style-apis-to-the-stl-style-iterator-pattern-in-c

DIR_ITERATOR_H_INC #define DIR_ITERATOR_H_INC class dir_iterator #if defined _MSC_VER _MSC_VER 1200 public std iterator std input_iterator_tag.. DWORD prohibit public WIN32_FIND_DATA operator return data dir_iterator dir_iterator const other it other.it mask other.mask path other.path.. public WIN32_FIND_DATA operator return data dir_iterator dir_iterator const other it other.it mask other.mask path other.path data..