example7.cpp
4.13 KB
-
redesigned format_descriptor<> and npy_format_descriptor<> · 876eeab4
This somewhat heavyweight solution will avoid size_t/long long/long/int mismatches on various platforms once and for all. The previous template overloads could e.g. not handle size_t on Darwin. One gotcha: the 'format_descriptor<T>::value()' syntax changed to just 'format_descriptor<T>::value'
Wenzel Jakob committed