Skip to content
Snippets Groups Projects

Add SubArray class

Merged Stéphane Del Pino requested to merge feature/item-array into develop
  1. Apr 06, 2021
  2. Apr 02, 2021
  3. Apr 01, 2021
    • Stéphane Del Pino's avatar
      Add ItemArray class · 7d567418
      Stéphane Del Pino authored
      It consists in a collection of arrays of the SAME size associated to items.
      The implementation return a SubArray associate with each item.
      
      It mimics the API of ItemValue's.
      
      The array size itself is dynamic.
      7d567418
    • Stéphane Del Pino's avatar
      Change constructor in copy function · b60d6b7f
      Stéphane Del Pino authored
      The previous implementation would allocate an array that would be
      destroyed immediately, since the (deep)copy of the array allocates it
      properly.
      b60d6b7f
    • Stéphane Del Pino's avatar
      Fix constructors · 9c8a7c44
      Stéphane Del Pino authored
      - remove a useless static_assert in the standard constructor
      - forbid default constructor: SubArray require an Array to exist
      9c8a7c44
  4. Mar 31, 2021
  5. Mar 30, 2021
    • Stéphane Del Pino's avatar
      Add SubArray class · 4cd25a42
      Stéphane Del Pino authored
      This allow to manipulate contiguous sub parts of arrays in the same
      way as arrays themselves
      
      Note that for performances reasons, SubArray cannot be Array
      4cd25a42
Loading