From 4a87933be9c816b0434f563c263c260a41ed31d0 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 19 Jul 2016 11:59:37 +0200 Subject: [PATCH] descr<> fix for int-to-string conversion --- include/pybind11/descr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/descr.h b/include/pybind11/descr.h index 0104e2b50..4123cc1b3 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; }