diff --git a/origin/core/concepts.hpp b/origin/core/concepts.hpp index 6769db3..5c495ee 100644 --- a/origin/core/concepts.hpp +++ b/origin/core/concepts.hpp @@ -198,8 +198,7 @@ template concept bool Destructible() { - // return std::is_destructible::value; - return requires (T* t) { t->~T(); }; + return std::is_destructible::value; } // Is true if and only if an object of type T can be constructed with