Eliminating the Static Overhead of Ranges--vector-of-bool

Very interesting.

Eliminating the Static Overhead of Ranges

by vector-of-bool

From the article:

C++20 is slated to receive Ranges, which is probably the most significant library update since the STL itself was introduced...

Add a Comment

Comments are closed.

Comments (1)

0 0

MF said on Oct 22, 2019 11:21 PM:

Interesting but I think there are some things worth mentioning that the article glossed over.

1. The hypothetical |> operator is really an old friend, namely the generalized member call operator and it has all the problems (and power) of that one.

2. The code based on |> throws away the lazy property of the range based code. This might not be a problem but it is dishonest to claim that the code is equivalent.