c++ Programming Glossary: committed
The simplest and neatest c++11 ScopeGuard http://stackoverflow.com/questions/10270328/the-simplest-and-neatest-c11-scopeguard template typename Lambda class ScopeGuard mutable bool committed Lambda rollbackLambda public ScopeGuard const Lambda _l committed.. Lambda rollbackLambda public ScopeGuard const Lambda _l committed false rollbackLambda _l template typename AdquireLambda ScopeGuard.. ScopeGuard const AdquireLambda _al const Lambda _l committed false rollbackLambda _l _al ~ScopeGuard if committed rollbackLambda..
Heap corruption under Win32; how to locate? http://stackoverflow.com/questions/1069/heap-corruption-under-win32-how-to-locate delete might be useful but that doesn't catch the allocs committed by lower level code. If this is what you want better to Detour..
How could one implement std::auto_ptr's copy constructor? http://stackoverflow.com/questions/4514124/how-could-one-implement-stdauto-ptrs-copy-constructor copy constructor. There's a piece of client code not yet committed into bitbucket because it won't build that looks like this AutoArray..
|