12 template <
typename CONSTRUCTOR_CALL>
15 forward<CONSTRUCTOR_CALL> (ctorCall) ();
23 template <
typename CONSTRUCTOR_CALL,
typename DESTRUCTOR_CALL>
24 inline ObjectForSideEffects::ObjectForSideEffects (CONSTRUCTOR_CALL&& ctorCall, DESTRUCTOR_CALL&& dtorCall)
25 : fDestructor_ (dtorCall)
27 forward<CONSTRUCTOR_CALL> (ctorCall) ();
29 inline ObjectForSideEffects::~ObjectForSideEffects ()
EmptyObjectForSideEffects(CONSTRUCTOR_CALL &&ctorCall)
Sometimes you want to sequence some code around mem-initializers. SOMETIMES - if those mem-initialize...