In https://github.com/BlueBrain/CoreNeuron/pull/834 we will increase the minimum C++ standard to C++17. This should allow TODO items like https://github.com/BlueBrain/CoreNeuron/blob/0574812f772d6dde595f33913452f798bba5166e/coreneuron/utils/memory.cpp#L39-L40 to be addressed. This should be helpful (also in NEURON) for structures that should be allocated overaligned (e.g. for SSE/AVX). An initial attempt at addressing this was introduced in https://github.com/BlueBrain/CoreNeuron/pull/834, but then removed again. Check the intermediate versions of that PR. We can also use [std::aligned_alloc](https://en.cppreference.com/w/cpp/memory/c/aligned_alloc) instead of `posix_memalign`, and so on.
In #834 we will increase the minimum C++ standard to C++17.
This should allow TODO items like
CoreNeuron/coreneuron/utils/memory.cpp
Lines 39 to 40 in 0574812
An initial attempt at addressing this was introduced in #834, but then removed again. Check the intermediate versions of that PR.
We can also use std::aligned_alloc instead of
posix_memalign, and so on.