logoalt Hacker News

gpderetta12/09/20241 replyview on HN

yes of course, I was trying (and failed?) to draw a connection from all_of to accumulate (i.e. fold).


Replies

JadeNB12/09/2024

Ah, my apologies. I don't know my way around C++, and, by reading your comment too quickly, misread it to be saying that `all_of` behaved badly, rather than that its behavior could be better understood by looking elsewhere.