sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.47k stars 485 forks source link

Replace deprecated/removed mem_fun_ref #38912

Closed tobiasdiez closed 1 week ago

tobiasdiez commented 3 weeks ago

Fixes

../src/sage/symbolic/ginac/archive.cpp(584): error C2039: 'mem_fun_ref': is not a member of 'std'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\sstream(19): note: see declaration of 'std'
../src/sage/symbolic/ginac/archive.cpp(584): error C3861: 'mem_fun_ref': identifier not found
../src/sage/symbolic/ginac/archive.cpp(584): error C2672: 'for_each': no matching overloaded function found

with C++17.

Extracted from https://github.com/sagemath/sage/pull/38872.

:memo: Checklist

:hourglass: Dependencies

github-actions[bot] commented 3 weeks ago

Documentation preview for this PR (built with commit d0e35b2a6ec1e0f6e1f5ce9de1f36a3860f574f9; changes) is ready! :tada: This preview will update shortly after each push to this PR.