Commit 4a87933b by Wenzel Jakob

descr<> fix for int-to-string conversion

parent 61352e50
......@@ -93,7 +93,7 @@ constexpr typename std::enable_if<!B, descr<Size2 - 1, 0>>::type _(char const(&)
return _(text2);
}
template <size_t Size> auto constexpr _() {
template <size_t Size> auto constexpr _() -> decltype(int_to_str<Size / 10, Size % 10>::digits) {
return int_to_str<Size / 10, Size % 10>::digits;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment