On 5/19/17 10:00, Niall Douglas via Boost wrote:
Outcome makes use of variable templates. There is still a code path using types instead, but it is used exclusively on MSVC and I aim to remove it as soon as Microsoft fix their compiler (I was told it'll be VS2017 Update 1).
So Outcome requires C++14 then? Does this mean that compilation with gcc 4.9.x is not supported?
The minimum known working compilers are listed at https://ned14.github.io/boost.outcome/prerequisites.html. As it says, you need GCC 5.4 minimum, and in practice GCC 6 if you want to avoid ICEs, and GCC 7 if you want full functionality (assuming GCC has fixed the bugs Outcome triggers in GCC 6).
Hi Niall - This is a bit confusing. It sounds like gcc 6 or greater is needed. I can't think of a situation where ICE'ng the compiler is considered working. michael -- Michael Caisse Ciere Consulting ciere.com