[PATCH] D134076: RFC - [ADT] Ranges pipe syntax support + SFINAE

James Player via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 14:24:57 PDT 2022


jplayer-nv added a comment.

I wrote this code for a private target (as well as for a non-LLVM compiler framework), and was wondering if some form of it would be useful upstream (I fully expect some high-level refactoring).  It seems strange that there are things defined in STLExtras.h which mimic the behavior of std::ranges elements but are named differently (`mapped_iterator` vs `transform_iterator` for example).

Also I started off using functions as the 'adapters' (like what I'm seeing in TOT), but quickly found that inline `constexpr` variables are more versatile.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134076



More information about the llvm-commits mailing list