Open juhanisimola-yousician opened 1 year ago
Add util to apply in surely may fix this problem just as following
template<class... T>
inline auto surely(const std::tuple<T...>& tpl)
-> decltype(util::apply(tpl, detail::surely())) {
return util::apply(tpl, detail::surely());
}
Thanks, that worked.
I fixed this and some Clang issues at https://github.com/YousicianGit/RxCpp/pull/1/files
Reproduction steps:
cmake -DCMAKE_CXX_STANDARD=17 -DRXCPP_DISABLE_TESTS_AND_EXAMPLES=0
The build fails with long, long error message starting with
Build is successful using C++ standards 11 and 14, but not 17. There are other errors when attempting to build with Clang, but this part can be successfully built.