Herb Sutter

Results 239 comments of Herb Sutter

Editors call: We think this is needed, but it should have a scarier name. We like `reinterpret_as`.

Editors call: We should finish removing the `owner` feature, thanks for pointing this out.

Editors call: We have two basic choices for any library like GSL -- either don't support no-exception environments, or provide an error-code variation of every operation that could throw an...

Editors call: In relation to #1616, @jwakely do you still want to pursue this issue?

Editors call: Thanks, we should improve this example.

Editors call: @cubbimew please create a new guideline along these lines. Thanks!

Editors call: @JordanMaples, could you please write a short specification and post it here for us to review? The key is that allocation only happens at construction, so that subsequent...

Editors call: Relatedly, we would also like to see a `gsl::stack_array` that is stack-only and uses `alloca` or the equivalent. Note this could require minor compiler magic rather than be...

Note that the example of creating static tables is often covered using compile-time code (e.g., `consteval`).