| 334 | typedef int (*wide_printf)(wchar_t* __restrict, size_t, const wchar_t* __restrict, ...); |
| 335 | |
| 336 | inline wide_printf get_swprintf() { |
| 337 | # ifndef _LIBCPP_MSVCRT |
| 338 | return swprintf; |
| 339 | # else |
| 340 | return static_cast<int(__cdecl*)(wchar_t* __restrict, size_t, const wchar_t* __restrict, ...)>(_snwprintf); |
| 341 | # endif |
| 342 | } |
| 343 | #endif // _LIBCPP_HAS_WIDE_CHARACTERS |
| 344 | |
| 345 | template <typename S, typename V> |