| 10 | |
| 11 | template <typename TestFixture> |
| 12 | struct 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 | |
| 24 | TYPED_TEST(OverloadTests, IsOverloadable) { |
| 25 | // Test whether fu2::function supports overloading which isn't possible |
nothing calls this directly
no outgoing calls
no test coverage detected