MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / MyStruct

Method MyStruct

tests/device_compilation_tests.cpp:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69struct MyStruct : MyParent {
70 MyStruct(int& value) : MyParent::MyParent{value, 4, 5, 7}, value(value) {
71 increment_in_dtor = &value;
72 }
73
74 ~MyStruct() {
75 value = convert(static_cast<float>(value));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected