c++ Programming Glossary: pobj_
May volatile be in user defined types to help writing thread-safe code http://stackoverflow.com/questions/2491495/may-volatile-be-in-user-defined-types-to-help-writing-thread-safe-code destructors LockingPtr volatile T obj Mutex mtx pObj_ const_cast T obj pMtx_ mtx mtx.Lock ~LockingPtr pMtx_ Unlock.. pMtx_ Unlock Pointer behavior T operator return pObj_ T operator return pObj_ private T pObj_ Mutex pMtx_ LockingPtr.. Pointer behavior T operator return pObj_ T operator return pObj_ private T pObj_ Mutex pMtx_ LockingPtr const LockingPtr LockingPtr..
How do I expand a tuple into variadic template function's arguments? http://stackoverflow.com/questions/687490/how-do-i-expand-a-tuple-into-variadic-template-functions-arguments obj F pFunc Args... args private virtual void doDispatch T pObj_ F pFunc_ std tr1 tuple Args... args_ template typename.. string name T obj F pFunc Args... args IMessage name pObj_ obj pFunc_ pFunc args_ std forward Args args ... template.. Args void Message T Args... doDispatch try applyTuple pObj_ pFunc_ args_ catch std exception e share improve this answer..
|