use std::type_traits everywhere

This commit is contained in:
Hans Dembinski
2017-11-06 11:49:47 +01:00
parent 5dee79f556
commit ba274ed04d
4 changed files with 8 additions and 10 deletions

View File

@@ -145,7 +145,7 @@ template <typename T> python::str axis_get_label(const T& t) {
#ifdef HAVE_NUMPY
template <typename Axis> python::object axis_array_interface(const Axis& axis) {
using T = typename decay<decltype(axis[0].lower())>::type;
using T = typename std::decay<decltype(axis[0].lower())>::type;
python::dict d;
auto shape = python::make_tuple(axis.size()+1);
d["shape"] = shape;