WithContextValue extends Context::current() with a single value.
More...
#include <Context.h>
WithContextValue extends Context::current() with a single value.
When the WithContextValue is destroyed, the original scope is restored.
Definition at line 200 of file Context.h.
◆ WithContextValue() [1/2]
template<typename T >
clang::clangd::WithContextValue::WithContextValue |
( |
const Key< T > & |
K, |
|
|
std::decay_t< T > |
V |
|
) |
| |
|
inline |
◆ WithContextValue() [2/2]
template<typename T >
clang::clangd::WithContextValue::WithContextValue |
( |
T && |
V | ) |
|
|
inline |
The documentation for this class was generated from the following file: