We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cee182 commit fb12b8eCopy full SHA for fb12b8e
include/cpp2util.h
@@ -1406,10 +1406,6 @@ constexpr auto is( X const& x ) -> bool {
1406
return Dynamic_cast<C const*>(&x) != nullptr;
1407
}
1408
1409
-template< polymorphic C, polymorphic_pointer X >
1410
- requires std::derived_from<pointee_t<X>, C>
1411
-constexpr auto is( X const& ) -> std::true_type { return {}; }
1412
-
1413
template< polymorphic_pointer C, polymorphic_pointer X >
1414
requires std::derived_from<pointee_t<X>, pointee_t<C>>
1415
constexpr auto is( X const& ) -> std::true_type { return {}; }
0 commit comments