You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is also a lot of use of std::unary_function and that one was also removed in c++17.
The use of std::unary_function is actually worse since that's in the header files so it spill over on client code. Meaning that if you use libsbml you are stuck at using c++14.
fbergmann
changed the title
replacement for ptr_func needed
ptr_func and unary_function need to be removed for compatibility with c++ > 14
Jan 26, 2021
agreed, i'm doing some testing right now on what compilers it is actually needed, but it seems to compile fine even on older versions of g++ / msvc without it
The conda build logs marked ptr_func as deprecated. So we should add detection of c++17, and if it is detected use a lambda instead. Here the warning:
The text was updated successfully, but these errors were encountered: