thecppzoo

Results 5 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...