Fix a bug where std::same_as<...> constraint was incorrectly used as a simple requirement instead of a nested requirement or part of a conjunction. This caused the constraint to be always satisfied regardless of the actual types involved. This change promotes std::same_as<...> to a top-level constraint, ensuring proper type checking while improving code readability. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb/scylladb#23068
2.3 KiB
2.3 KiB