sodium-cxx icon indicating copy to clipboard operation
sodium-cxx copied to clipboard

Avoid conflict with std::apply (C++17)

Open e4z9 opened this issue 1 year ago • 2 comments

For example when calling the multiple cell version of lift the compiler tries to resolve the calls to apply(map(fa), bb) with std::apply(_Fn && __f, _Tuple && __t) and (understandably) fails to interpret sodium::cell as a tuple.

e4z9 avatar Mar 03 '24 09:03 e4z9

Maybe someone with more C++ foo has an idea why that happens in the first place even when not using using namespace std;

e4z9 avatar Mar 03 '24 10:03 e4z9