thecppzoo

Results 8 comments of thecppzoo

Thanks for this effort. Part of the value of re-expressing known techniques as what we call "associative iteration" is that this gets us closer to use any advantage we can...

> 'overflow unsafe' points out the follow-up to this PR that exponentiation via repeated multiplication via repeated saturating addition is an implementation option. I don't know, Scott, perhaps it is...

I believe the phrase "the space for the discriminator could be employed by the alternative" intends to mean that a holder of an optional field may provide a discriminant.

For this to be a template adapter, there are three choices: 1. The `optional` keeps a reference to the holder (this *reference* may be a pointer or C++ reference), but...

There is a crude way to implement this: a "big" template that takes as parameter the "holder" (the object where you want both the optional and the discriminant), and tacks...

My preference with this PR is to not just introduce the support for direct initialization of literals, but complete it with the following: 1. Making the essential function `from_array` a...

To **complEment**, not "compliment"

We are almost there. Take into account the outstanding comments. After merge, I will use the expression form using an `std::index_sequence`, then whoever merges this PR should create an issue...