diff options
Diffstat (limited to 'compat/borrowed-ptr-fwd.hpp')
-rw-r--r-- | compat/borrowed-ptr-fwd.hpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/compat/borrowed-ptr-fwd.hpp b/compat/borrowed-ptr-fwd.hpp index 5f9c09f4..6a3db763 100644 --- a/compat/borrowed-ptr-fwd.hpp +++ b/compat/borrowed-ptr-fwd.hpp @@ -4,16 +4,9 @@ namespace floormat { struct bptr_base; -template<typename T> -requires std::is_convertible_v<T*, const bptr_base*> -class bptr; +template<typename T> class bptr; -template<typename T> -requires std::is_convertible_v<T*, const bptr_base*> -bptr(T* ptr) -> bptr<T>; - -template<typename T> -requires std::is_convertible_v<T*, const bptr_base*> -bptr(const T* ptr) -> bptr<const T>; +template<typename T> bptr(T* ptr) -> bptr<T>; +template<typename T> bptr(const T* ptr) -> bptr<const T>; } // namespace floormat |