MCPcopy Create free account
hub / github.com/Naios/function2 / FunctionProvider

Class FunctionProvider

test/overload-test.cpp:12–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11template <typename TestFixture>
12struct FunctionProvider {
13 bool OverloadedMethod(
14 typename TestFixture::template left_t<void(std::false_type)>) {
15 return false;
16 }
17
18 bool OverloadedMethod(
19 typename TestFixture::template left_t<void(std::true_type)>) {
20 return true;
21 }
22};
23
24TYPED_TEST(OverloadTests, IsOverloadable) {
25 // Test whether fu2::function supports overloading which isn't possible

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected