From 0912f6884428bd69459b98216c6e4b3d96d9073c Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 17 Dec 2021 14:53:25 +1000 Subject: [PATCH] string: add `is_transparent` to transforming `less` comparator --- string.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/string.hpp b/string.hpp index 18e5cf19..78b61805 100644 --- a/string.hpp +++ b/string.hpp @@ -350,6 +350,8 @@ namespace cruft::string { return false; } + using is_transparent = void; + template requires (!std::is_same_v) bool operator() (A &&a, B &&b) const noexcept