MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / C

Class C

3rdparty/cppdap/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 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68