Add comment related to conditional compilation

This commit is contained in:
Anatoly Shirokov 2018-02-13 15:11:19 +03:00
parent 001068cb2c
commit f99f80b478
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ inline constexpr void noop() {
std::abort();
}
// Since MSVC 2015 cannot understand "constexpr void" (void is literal since C++14)
// we have to use conditional compilation
inline
#if !defined(_MSC_VER) || (_MSC_VER > 1900)
constexpr