MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / GetOrCreateValue

Method GetOrCreateValue

tests/gtest/gtest.h:1857–1860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1855
1856
1857 T* GetOrCreateValue() const {
1858 return static_cast<ValueHolder*>(
1859 ThreadLocalRegistry::GetValueOnCurrentThread(this))->pointer();
1860 }
1861
1862 virtual ThreadLocalValueHolderBase* NewValueForCurrentThread() const {
1863 return default_factory_->MakeNewHolder();

Callers

nothing calls this directly

Calls 1

pointerMethod · 0.45

Tested by

no test coverage detected