MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / S

Class S

tests/TemporaryHandler2Test.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86struct S {
87 S() { } // User defined constructor makes S non-POD.
88 ~S() { } // User defined destructor makes it non-trivial.
89};
90void test() {
91 const S &s_ref = S(); // Requires a CXXBindTemporaryExpr.
92}

Callers 1

testFunction · 0.70

Calls

no outgoing calls

Tested by 1

testFunction · 0.56