We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74f2c03 commit d2abd44Copy full SHA for d2abd44
1 file changed
src/native_handle.ixx
@@ -28,10 +28,7 @@ export namespace essence {
28
concept handle_stroage_type = std::integral<T> && sizeof(T) >= sizeof(std::uintptr_t);
29
30
template <auto Callable, typename T>
31
- concept handle_validator_type = requires {
32
- requires std::integral<T>;
33
- { Callable } -> std::predicate<T>;
34
- };
+ concept handle_validator_type = std::integral<T> && std::predicate<decltype(Callable), T>;
35
36
template <std::integral T>
37
T make_pointer_number(const void* pointer) noexcept {
0 commit comments