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

Function ImplicitCast_

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

Source from the content-addressed store, hash-verified

1327// namespace alone is not enough because the function can be found by ADL.
1328template<typename To>
1329inline To ImplicitCast_(To x) { return x; }
1330
1331// When you upcast (that is, cast a pointer from type Foo to type
1332// SuperclassOfFoo), it's fine to use ImplicitCast_<>, since upcasts

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected