clang-tools 20.0.0git
|
WithContext replaces Context::current() with a provided scope. More...
#include <Context.h>
Public Member Functions | |
WithContext (Context C) | |
~WithContext () | |
WithContext (const WithContext &)=delete | |
WithContext & | operator= (const WithContext &)=delete |
WithContext (WithContext &&)=delete | |
WithContext & | operator= (WithContext &&)=delete |
WithContext replaces Context::current() with a provided scope.
When the WithContext is destroyed, the original scope is restored. For extending the current context with new value, prefer WithContextValue.
|
inline |
|
delete |
|
delete |
|
delete |
|
delete |