| 10557 | |
| 10558 | template <typename T> |
| 10559 | int adl_default_to_string(std::true_type, lua_State* L) { |
| 10560 | using namespace std; |
| 10561 | decltype(auto) ts = to_string(stack::get<T>(L, 1)); |
| 10562 | return stack::push(L, std::forward<decltype(ts)>(ts)); |
| 10563 | } |
| 10564 | |
| 10565 | template <typename T> |
| 10566 | int adl_default_to_string(std::false_type, lua_State* L) { |