Skip to content
Snippets Groups Projects
Commit 2c7e95d2 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: rename protected UList size(label) -> setAddressableSize(label)

- modification/continuation of 8d63073b and 5c1ec7ec (#595).

  Although this protected function is only used internally, the name
  `size(label)` is too easily confused with `resize(label)` and
  `setSize(label)`. The longer method name eliminates some ambiguity.
  Name consistent with PtrListDetail.

- leave size(label) method (for possible compatibility),
  but mark as deprecated

- improve sizing consistency for (Istream >> DynamicList)

STYLE: more consistent use of resize vs setSize in DynamicList

- more consistency between DynamicList and DynamicField.
  There were some inconsistencies in how construct with a size was
  interpreted.

STYLE: more consistent declaration/use of Swap
parent 9b56c6b1
Showing
with 354 additions and 474 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment