Stay up-to-date with everything C++!
Content directly fetched from the subreddit just for you.
Join our group for discussions : @programminginc
Powered by : @r_channels
Post #25301
20
C+ @r_cpp
Showing posts older than #25302 · Back to latest
uc::advance_while, which descends the iterator hierarchy recursively rather than operating at the top level. This allows algorithms to do their work at the lowest iterator level, avoiding redundant predicate evaluations.take_while | transform | filter | reverse. On Clang 22 + libc++, I'm seeing roughly 16x speedup over std::ranges. Though MSVC shows a smaller improvement (\~2x). Currently supports a minimal set of adaptors and algorithms. GCC is not yet working, likely due to module-related issues.std::bitset. I recently wrote up the story of how it came to be -- starting from a memory-constrained MS-DOS application, through the early days of templates, and into C++98.bitstring, which became vector<bool> and eventually boost::dynamic_bitset.