MCPcopy Create free account
hub / github.com/baidu/babylon / StaticInstance

Method StaticInstance

test/test_any.cpp:780–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

778
779struct StaticInstance {
780 inline StaticInstance() {
781 string = ::std::string("123");
782 pstring = string.get<::std::string>();
783 primitive = -123;
784 primitive_value = primitive.as<uint64_t>();
785 ref.ref(*string.get<::std::string>());
786 pref = ref.get<::std::string>();
787 }
788
789 Any string;
790 ::std::string* pstring;

Callers

nothing calls this directly

Calls 1

refMethod · 0.80

Tested by

no test coverage detected