| 9 | ~Bar() = default; |
| 10 | }; |
| 11 | int main() { |
| 12 | std::cout << std::boolalpha |
| 13 | << "std::string is destructible? " |
| 14 | << std::is_destructible<std::string>::value << '\n' |
| 15 | << "Foo is trivially destructible? " |
| 16 | << std::is_trivially_destructible_v<Foo> << '\n' |
| 17 | << "Foo is nothrow destructible? " |
| 18 | << std::is_nothrow_destructible<Foo>() << '\n' |
| 19 | << "Bar is trivially destructible? " |
| 20 | << std::is_trivially_destructible<Bar>{} << '\n'; |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected