We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Cpp17Destructible
1 parent 4aa8142 commit bfcfb3dCopy full SHA for bfcfb3d
1 file changed
test/core.cpp
@@ -369,6 +369,16 @@ TEST_CASE("Cpp17Destructible")
369
STATIC_REQUIRE(!std::destructible<void>);
370
STATIC_REQUIRE( std::destructible<int&>);
371
}
372
+ {
373
+ // Pointer types *should* be destructible
374
+ STATIC_REQUIRE(iris::req::Cpp17Destructible<int*>);
375
+
376
+ struct Defined {};
377
+ STATIC_REQUIRE(iris::req::Cpp17Destructible<Defined*>);
378
379
+ struct Undefined;
380
+ STATIC_REQUIRE(iris::req::Cpp17Destructible<Undefined*>);
381
+ }
382
383
384
namespace {
0 commit comments