This page tracks the workarounds for the various compiler issues that we encountered in the development. This is mostly of interest for developers interested in contributing to xtensor-python.
GCC sometimes fails to automatically instantiate the std::allocator
class template for the types long long
and unsigned long long
.
Those allocators are thus explicitly instantiated in the dummy function
void long_long_allocator()
in the file py_container.hpp
.