From 689abc29828b6ad0aaf4fd555e5d979e42186fca Mon Sep 17 00:00:00 2001 From: Jordan Maples Date: Thu, 28 May 2020 14:04:31 -0700 Subject: [PATCH] adding container ctad --- include/gsl/span | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/gsl/span b/include/gsl/span index 04d2d69..c7b45e9 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -740,6 +740,12 @@ span(std::array&)->span; template span(const std::array&)->span; +template +span(Container&)->span; + +template +span(const Container&)->span; + #endif // ( defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201611L) ) #if defined(GSL_USE_STATIC_CONSTEXPR_WORKAROUND)