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

Method Conversion

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

Source from the content-addressed store, hash-verified

54
55struct Conversion {
56 Conversion(float value) : value(value) {}
57
58 operator int() {
59 return static_cast<int>(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected