Skip to content
Snippets Groups Projects

Remove usage of std::binary_function

Merged Florian Uhlig requested to merge f.uhlig/cbmroot:remove_binary_function into master

The usage of std::binary_function is really old legacy to define the functions used in STL algorithms like std::sort. std::binary_function was also removed from C++ with newer C++ versions. Switch to the modern implementation using lambdas in the STL algorithms. This also increase code readability since the code is located at the same place where it is used.

This MR should also test if the GitLab link in the Redmine issue is properly created again.

Edited by Florian Uhlig

Merge request reports

Merge request pipeline #31616 passed

Merge request pipeline passed for 7beb79fd

Merged by Sergey GorbunovSergey Gorbunov 9 months ago (Nov 4, 2024 1:12pm UTC)

Loading

Pipeline #31635 passed

Pipeline passed for 7beb79fd on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading