GrowableArray: Allow for custom initializer instead of copy constructor

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated: