Skip to content
Snippets Groups Projects
Forked from Core Modules / dune-istl
Source project has a limited visibility.
  • Carsten Gräser's avatar
    45aae438
    [cleanup] Remove unused allocators · 45aae438
    Carsten Gräser authored
    Remove allocator template parameter from the classes
    `base_array_unmanaged`, `compressed_base_array_unmanaged`,
    `block_vector_unmanaged`, `compressed_block_vector_unmanaged`, and
    `CompressedBlockVectorWindow`.
    All of these classes do not manage memory on their own.
    The provided allocator was only used to deduce `size_type`.
    The latter is now provided as template parameter explicitely.
    
    Notice that this (seemigly breaking) change is safe, because
    all these classes are clearly marked as implementation details
    that should not be used outside of dune-istl.
    45aae438
    History
    [cleanup] Remove unused allocators
    Carsten Gräser authored
    Remove allocator template parameter from the classes
    `base_array_unmanaged`, `compressed_base_array_unmanaged`,
    `block_vector_unmanaged`, `compressed_block_vector_unmanaged`, and
    `CompressedBlockVectorWindow`.
    All of these classes do not manage memory on their own.
    The provided allocator was only used to deduce `size_type`.
    The latter is now provided as template parameter explicitely.
    
    Notice that this (seemigly breaking) change is safe, because
    all these classes are clearly marked as implementation details
    that should not be used outside of dune-istl.