Molassembler  3.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DynamicArray.h File Reference

std::vector-like class (but max size is size allocated) More...

#include "Molassembler/Temple/Preprocessor.h"
#include <array>
#include <cstddef>
#include <type_traits>
#include <utility>
Include dependency graph for DynamicArray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Scine::Molassembler::Temple::DynamicArray< T, nItems >
 
class  Scine::Molassembler::Temple::DynamicArray< T, nItems >::const_iterator
 Nonmodifiable data iterator. More...
 

Namespaces

 Scine::Molassembler
 Central library namespace.
 
 Scine::Molassembler::Temple
 Template shorthands, optimizers and constexpr data types.
 

Functions

template<template< typename, std::size_t > class ArrayType, typename T , std::size_t N, class BinaryFunction >
constexpr DynamicArray
< DynamicArray< T, N >, N > 
Scine::Molassembler::Temple::groupByEquality (const ArrayType< T, N > &data, BinaryFunction &&equalityComparator)
 
template<typename T , std::size_t N>
DynamicArray< T, N > Scine::Molassembler::Temple::merge (const DynamicArray< T, N > &a, const DynamicArray< T, N > &b)
 

Detailed Description

std::vector-like class (but max size is size allocated)