diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-04-09 17:45:54 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-09 17:45:54 +0000 |
commit | 269963f90fa882869c3a33c8c9ecba41351cb27d (patch) | |
tree | b2e73bb87dc8b1b4fe51658495e0faafb086975a /core/fxcrt/string_view_template.h | |
parent | 1ee9601b01259b3e1b1a5b43801264ec6f5090c1 (diff) | |
download | pdfium-269963f90fa882869c3a33c8c9ecba41351cb27d.tar.xz |
Make pdfium::span<> be based off of UnownedPtr<>.
Because we can get the lifetime check for free if we do this. This
requires adding some "constexpr/noexcept" to UnownedPtr to make the
types line up with what span.h requires.
Change-Id: I45918f8723122082036eed959f769644ab4c509f
Reviewed-on: https://pdfium-review.googlesource.com/29672
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/string_view_template.h')
0 files changed, 0 insertions, 0 deletions