MCPcopy Create free account
hub / github.com/apache/singa / pointer

Method pointer

test/gtest/gtest.h:2596–2596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2594 }
2595
2596 T* pointer() { return GetOrCreateValue(); }
2597 const T* pointer() const { return GetOrCreateValue(); }
2598 const T& get() const { return *pointer(); }
2599 void set(const T& value) { *pointer() = value; }

Callers 2

GetOrCreateValueMethod · 0.45
gtest-all.ccFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected