Permalink
Browse files

Visual Studio >= 2015 now supports noexcept

  • Loading branch information...
sigiesec committed Oct 24, 2017
1 parent 5677a02 commit b12a07041709fdcae9a54e999911bd928b1c0198
Showing with 4 additions and 4 deletions.
  1. +4 −4 fcmm.hpp
@@ -45,11 +45,11 @@
#ifndef FCMM_H_
#define FCMM_H_

// The noexcept specifier is unsupported in Visual Studio
#ifndef _MSC_VER
#define FCMM_NOEXCEPT noexcept
// The noexcept specifier is unsupported before Visual Studio 2015
#if defined(_MSC_VER) && _MSC_VER < 1900
#define FCMM_NOEXCEPT
#else
#define FCMM_NOEXCEPT
#define FCMM_NOEXCEPT noexcept
#endif

#include <cstddef>

0 comments on commit b12a070

Please sign in to comment.