From b92c60c17113f4e566fc2162d675482d715d5930 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Mon, 26 Oct 2015 13:11:04 +0300 Subject: [PATCH] MSVC 2015 supports noexcept --- format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/format.h b/format.h index d6371dd5..aea41bfb 100644 --- a/format.h +++ b/format.h @@ -162,7 +162,8 @@ inline uint32_t clzll(uint64_t x) { // Define FMT_USE_NOEXCEPT to make C++ Format use noexcept (C++11 feature). #ifndef FMT_NOEXCEPT # if FMT_USE_NOEXCEPT || FMT_HAS_FEATURE(cxx_noexcept) || \ - (FMT_GCC_VERSION >= 408 && FMT_HAS_GXX_CXX11) + (FMT_GCC_VERSION >= 408 && FMT_HAS_GXX_CXX11) || \ + _MSC_VER >= 1900 # define FMT_NOEXCEPT noexcept # else # define FMT_NOEXCEPT throw()