Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8319117

GrowableArray: Allow for custom initializer instead of copy constructor

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot

      When using at_put and at_put_grow you can provide a value which will be supplied to the constructor of each element. In other words, you can intialize each element through a copy constructor.

      I suggest that we also provide a function equivalent where the function is provided a pointer to the memory to be initialized.

            Unassigned Unassigned
            jsjolen Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: