MCPcopy Create free account
hub / github.com/Kitware/CMake / C

Class C

Utilities/cmcppdap/src/traits_test.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42TEST(ParameterType, Method) {
43 class C {
44 public:
45 void F1(S) {}
46 void F3(int, S, float) {}
47 };
48 C().F1({}); // Avoid unused method warning
49 C().F3(0, {}, 0); // Avoid unused method warning
50 static_assert(std::is_same<ParameterType<decltype(&C::F1), 0>, S>::value, "");

Callers 4

TESTFunction · 0.70
cpu.hFile · 0.50
crc64_genericFunction · 0.50
crc32_genericFunction · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.56