lower __cpp_deduction_guide version number from 201907 to 201611

This commit is contained in:
Jordan Maples [MSFT] 2019-11-18 10:14:05 -08:00
parent 128b4356ac
commit a7759e6d3f

View File

@ -272,13 +272,13 @@ auto make_strict_not_null(T&& t) {
return strict_not_null<std::remove_cv_t<std::remove_reference_t<T>>>{std::forward<T>(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 <class T> not_null(T) -> not_null<T>;
template <class T> strict_not_null(T) -> strict_not_null<T>;
#endif // (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201907L))
#endif // (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201611L))
} // namespace gsl