diff --git a/include/pybind11/descr.h b/include/pybind11/descr.h index 0104e2b5..4123cc1b 100644 --- a/include/pybind11/descr.h +++ b/include/pybind11/descr.h @@ -93,7 +93,7 @@ constexpr typename std::enable_if>::type _(char const(&) return _(text2); } -template auto constexpr _() { +template auto constexpr _() -> decltype(int_to_str::digits) { return int_to_str::digits; }