We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
using detail::_
1 parent 657a51e commit add56ccCopy full SHA for add56cc
include/pybind11/numpy.h
@@ -940,9 +940,9 @@ struct format_descriptor<T, detail::enable_if_t<std::is_enum<T>::value>> {
940
template <typename T>
941
struct format_descriptor<T, detail::enable_if_t<detail::array_info<T>::is_array>> {
942
static std::string format() {
943
- using detail::_;
944
- static constexpr auto extents = _("(") + detail::array_info<T>::extents + _(")");
945
- return extents.text + format_descriptor<detail::remove_all_extents_t<T>>::format();
+ using namespace detail;
+ static constexpr auto extents = _("(") + array_info<T>::extents + _(")");
+ return extents.text + format_descriptor<remove_all_extents_t<T>>::format();
946
}
947
};
948
0 commit comments