[libcxx-commits] [PATCH] D68952: Guard against possible overflow in span.subpan

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 20 20:20:51 PDT 2019


mclow.lists added a comment.

In D68952#1708360 <https://reviews.llvm.org/D68952#1708360>, @miscco wrote:

> As a side note we could also simplify the non templated subspan method


[snip]

I don't find that code to be simpler.
It's shorter, but harder to understand.


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68952/new/

https://reviews.llvm.org/D68952





More information about the libcxx-commits mailing list