| 15 | } |
| 16 | |
| 17 | TEST(StrongNoExceptTests, GuaranteedNoExceptOperations) { |
| 18 | using type = fu2::function_base<true, true, fu2::capacity_fixed<100U>, true, |
| 19 | true, void()>; |
| 20 | |
| 21 | EXPECT_TRUE(std::is_nothrow_destructible<type>::value); |
| 22 | EXPECT_TRUE(std::is_nothrow_move_assignable<type>::value); |
| 23 | EXPECT_TRUE(std::is_nothrow_move_constructible<type>::value); |
| 24 | } |
| 25 | |
| 26 | // Issue #5 |
| 27 | // Death tests are causing issues when doing leak checks in valgrind |
nothing calls this directly
no outgoing calls
no test coverage detected