Re: [boost] [review] outcome broken on clang with libstdc++ (Linux) and Apple clang with libc++
On Sat, Jan 27, 2018 at 3:07 PM, Niall Douglas wrote:
b2 libs/afio/test works fine with VS2017. So it would seem that that ICE Vinnie encountered is some weird corner case nobody could have anticipated. As I mentioned, almost all of the development of Outcome was done on MSVC. It's very well tested on MSVC, and I've never seen anything like that ICE before.
I just tried boost-outcome unit tests with clang 4.0, 5.0 on Linux
with libstdc++ with -std=c++14 and -std=c++1z which fails with many
errors:
e.g.
In file included from libs/outcome/test/tests/comparison.cpp:35:
In file included from
libs/outcome/test/tests/../../include/boost/outcome/outcome.hpp:34:
In file included from
libs/outcome/test/tests/../../include/boost/outcome/detail/outcome_exception_observers.hpp:34:
In file included from
libs/outcome/test/tests/../../include/boost/outcome/detail/result_storage.hpp:34:
libs/outcome/test/tests/../../include/boost/outcome/detail/../success_failure.hpp:54:42:
error: no template named 'conditional_t' in namespace 'std'; did you
mean 'conditional'?
template <class T> using devoid =
std::conditional_t
participants (1)
-
Glen Fernandes