We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42da79c commit 367d464Copy full SHA for 367d464
1 file changed
include/llvm/ADT/StringRef.h
@@ -576,7 +576,7 @@ namespace llvm {
576
// allowed), but (b) misclassifies the the construction as nothrow. Newer libc++
577
// releases reject user specializations of this trait outright, and also compute
578
// the trait correctly without help.
579
-#if !defined(_LIBCPP_VERSION)
+#if !defined(_LIBCPP_VERSION) && (!defined(_MSC_VER) || _MSC_VER < 1951)
580
namespace std {
581
template<>
582
struct is_nothrow_constructible <std::string, llvm::StringRef>
0 commit comments