From a7759e6d3f7514f70ed698dc05f8369d9278c69c Mon Sep 17 00:00:00 2001 From: "Jordan Maples [MSFT]" <49793787+JordanMaples@users.noreply.github.com> Date: Mon, 18 Nov 2019 10:14:05 -0800 Subject: [PATCH] lower __cpp_deduction_guide version number from 201907 to 201611 --- include/gsl/pointers | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gsl/pointers b/include/gsl/pointers index ae6f8c5..bc6a91c 100644 --- a/include/gsl/pointers +++ b/include/gsl/pointers @@ -272,13 +272,13 @@ auto make_strict_not_null(T&& t) { return strict_not_null>>{std::forward(t)}; } -#if (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201907L)) +#if (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201611L)) // deduction guides to prevent the ctad-maybe-unsupported warning template not_null(T) -> not_null; template strict_not_null(T) -> strict_not_null; -#endif // (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201907L)) +#endif // (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201611L)) } // namespace gsl