This guard maintains all the RequestData pointers of the parent. This allows to overwrite a specific RequestData pointer for the scope's duration, without breaking others.
Declared in <folly/io/async/Request.h>
struct ShallowCopyRequestContextScopeGuard;
Only modified pointers will have their set/onset methods called
| Name | Description |
|---|---|
ShallowCopyRequestContextScopeGuard [constructor] | Constructors |
~ShallowCopyRequestContextScopeGuard [destructor] | Restores the previous context. |
operator= | Assignment operators |