MCPcopy Create free account
hub / github.com/OneMoreGres/ScreenTranslator / GetOrCreateValue

Method GetOrCreateValue

external/gtest/gtest.h:1822–1825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1820
1821
1822 T* GetOrCreateValue() const {
1823 return static_cast<ValueHolder*>(
1824 ThreadLocalRegistry::GetValueOnCurrentThread(this))->pointer();
1825 }
1826
1827 virtual ThreadLocalValueHolderBase* NewValueForCurrentThread() const {
1828 return default_factory_->MakeNewHolder();

Callers

nothing calls this directly

Calls 1

pointerMethod · 0.45

Tested by

no test coverage detected