• Wenzel Jakob's avatar
    redesigned format_descriptor<> and npy_format_descriptor<> · 876eeab4
    Wenzel Jakob authored
    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'
    876eeab4
example7.cpp 4.13 KB