CompileFeatures: Relax cxx_relaxed_constexpr compiler requirements

This in effect means that cxx_relaxed_constexpr is now supported
by MSVC and Intel 18.0-18.04.
This commit is contained in:
Robert Maynard
2019-05-07 13:20:21 -04:00
committed by Brad King
parent 4aace9b015
commit 1ebb0d79fe
3 changed files with 5 additions and 6 deletions
@@ -22,6 +22,7 @@ constexpr int g(const int (&is)[4])
int someFunc()
{
constexpr int k3 = g({ 4, 5, 6, 7 });
constexpr int values[4] = { 4, 5, 6, 7 };
constexpr int k3 = g(values);
return k3 - 42;
}