diff options
Diffstat (limited to 'absl/types/span.h')
-rw-r--r-- | absl/types/span.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/types/span.h b/absl/types/span.h index 0ca30d1d0f08..f781353c2347 100644 --- a/absl/types/span.h +++ b/absl/types/span.h @@ -290,7 +290,8 @@ class Span { constexpr Span(T (&a)[N]) noexcept // NOLINT(runtime/explicit) : Span(a, N) {} - // Explicit reference constructor for a mutable `Span<T>` type + // Explicit reference constructor for a mutable `Span<T>` type. Can be + // replaced with MakeSpan() to infer the type parameter. template <typename V, typename = EnableIfConvertibleFrom<V>, typename = EnableIfMutableView<V>> explicit Span(V& v) noexcept // NOLINT(runtime/references) |