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

Function pointer

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

Source from the content-addressed store, hash-verified

2032 }
2033
2034 T* pointer() { return GetOrCreateValue(); }
2035 const T* pointer() const { return GetOrCreateValue(); }
2036 const T& get() const { return *pointer(); }
2037 void set(const T& value) { *pointer() = value; }

Callers 4

ThreadLocalClass · 0.85
setMethod · 0.85
gtest.hFile · 0.85
setFunction · 0.85

Calls 1

GetOrCreateValueFunction · 0.85

Tested by

no test coverage detected