c++ Programming Glossary: boost_check_equal
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 HANDLE hFindFile LPWIN32_FIND_DATAW lpFindFileData BOOST_CHECK_EQUAL reinterpret_cast HANDLE 42 hFindFile if fakeData.empty SetLastError.. return 1 static BOOL Close HANDLE hFindFile BOOST_CHECK_EQUAL reinterpret_cast HANDLE 42 hFindFile return 1 std deque WIN32_FIND_DATAW.. static BOOL FindNext HANDLE hFindFile LPWIN32_FIND_DATAW BOOST_CHECK_EQUAL reinterpret_cast HANDLE 42 hFindFile return 1 static BOOL Close..
|