Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-117561

Predicate copied when it could be forwarded in some STL algorithms

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • gcc / libstdc++
    • None
    • None
    • rhel-pt-cpp-libs
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Goal

      • Replace copies with moves when passing callables between internal functions in <algorithm> and <numeric>. For callables which are expensive to copy, such as some specializations of std::function, this will avoid allocating memory or other costly operations.

      Acceptance criteria

      Close the upstream bug:
      https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111963

      Either a fix (with tests) should be committed upstream, or the bug should be closed with rationale for not making the change.

              Unassigned Unassigned
              araghuku Alekya Raghukula
              Jonathan Wakely Jonathan Wakely
              Vaclav Kadlcik Vaclav Kadlcik
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: