MSVC Compatibility: span.h adjustments

1) C4146 (unary minus operator applied to unsigned type, result still unsigned) for
   constexpr size_t dynamic_extent = -1;

2) Workarounds for ternary expressions in templates (parens currently needed).

BUG=

Change-Id: Ia5d4ded07e819589800e957ce8cf369ddd6cd4ac
Reviewed-on: https://chromium-review.googlesource.com/1042806
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555966}

CrOS-Libchrome-Original-Commit: 889ab33ac5127144847d0bcd8316245b102afaa9
1 file changed
tree: 169b65bd5b93fd8177e0c1e7131a1b68c4271252
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/