tip for auto_ptr with C++ 1. how to test whether auto_pointer is null? if (!myPointer.get()) { // do not dereference here } 2. how to pass auto_pointer ? std::auto_ptr<class> ptr_class = std::auto_ptr( new class ); Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) Related Posted on 2015-06-10 8:09 PM by andrew Comment 📂This entry was posted in C/C++
2015-06-11 andrew CMAKE compile options and etc optionscmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=`pwd`/install -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE...
2014-07-09 andrew [Grid] BCG Grid Ctl 이벤트 모음//////////////////////////////////////////////////////////////////// const DWORD dwViewStyle = WS_CH...