[PATCH] D145489: [STLExtras] Use std::get in less_first,less_second to support more types

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 02:57:32 PST 2023


fhahn added a comment.

In D145489#4175498 <https://reviews.llvm.org/D145489#4175498>, @dblaikie wrote:

> Sounds good to me - wouldn't even mind if you wanted to implement a generic abstraction, `less<N>` and implement less_first/second as aliases of that type.

Thanks for taking a look! I am going to land this as is for now, but I can look into generalizing it as follow-up.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145489/new/

https://reviews.llvm.org/D145489



More information about the llvm-commits mailing list