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

Method MakeNewHolder

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

Source from the content-addressed store, hash-verified

2095 public:
2096 explicit InstanceValueHolderFactory(const T& value) : value_(value) {}
2097 virtual ValueHolder* MakeNewHolder() const {
2098 return new ValueHolder(value_);
2099 }
2100
2101 private:
2102 const T value_; // The value for each thread.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected