Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9161

CPP: Get rid of additional copy on Get

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.7
    • platforms

    Description

      Currently, helper classes from operations.h header file, e.g. Out1Operation contain additional value, that can't be optimized-out by the compiler on return, even though the operation itself is a temporary object.

      As a solution, such classes should accept and operate on a reference to a temporary object, so that copy elision can be used by a compiler.

      Attachments

        Activity

          People

            isapego Igor Sapego
            isapego Igor Sapego
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: