Fixup for fixup

This commit is contained in:
Elad 2024-12-29 13:05:31 +02:00 committed by GitHub
parent f906603e03
commit 619aedb8d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -605,10 +605,10 @@ namespace stx
template <typename T1>
static constexpr bool is_stx_pointer = false
|| is_instance_of<std::remove_cv_t<T1>, shared_ptr>::value
|| is_instance_of<std::remove_cv_t<T1>, single_ptr>::value
|| is_instance_of<std::remove_cv_t<T1>, atomic_ptr>::value;
|| std::is_same_v<T1, null_ptr_t>;
|| is_instance_of<std::remove_cvref_t<T1>, shared_ptr>::value
|| is_instance_of<std::remove_cvref_t<T1>, single_ptr>::value
|| is_instance_of<std::remove_cvref_t<T1>, atomic_ptr>::value;
|| std::is_same_v<std::remove_cvref_t<T1>, null_ptr_t>;
public:
using element_type = std::remove_extent_t<T>;