GrowableArray should move its old data and not copy it

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 22
    • Component/s: hotspot

      Right now GrowableArray by default calls E's copy constructor when the backing array is resized and moved. This is unnecessary, it should instead explicitly call the move constructor. The advantage of this is that NONCOPYABLE classes can now be stored by the GrowableArray.

            Assignee:
            Unassigned
            Reporter:
            Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: