You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

  1. // Formatting library for C++
  2. //
  3. // Copyright (c) 2012 - 2016, Victor Zverovich
  4. // All rights reserved.
  5. //
  6. // For the license information refer to format.h.
  7. #include "fmt/format-inl.h"
  8. FMT_BEGIN_NAMESPACE
  9. namespace detail {
  10. template FMT_API auto dragonbox::to_decimal(float x) noexcept
  11. -> dragonbox::decimal_fp<float>;
  12. template FMT_API auto dragonbox::to_decimal(double x) noexcept
  13. -> dragonbox::decimal_fp<double>;
  14. #ifndef FMT_STATIC_THOUSANDS_SEPARATOR
  15. template FMT_API locale_ref::locale_ref(const std::locale& loc);
  16. template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
  17. #endif
  18. // Explicit instantiations for char.
  19. template FMT_API auto thousands_sep_impl(locale_ref)
  20. -> thousands_sep_result<char>;
  21. template FMT_API auto decimal_point_impl(locale_ref) -> char;
  22. template FMT_API void buffer<char>::append(const char*, const char*);
  23. template FMT_API void vformat_to(buffer<char>&, string_view,
  24. typename vformat_args<>::type, locale_ref);
  25. // Explicit instantiations for wchar_t.
  26. template FMT_API auto thousands_sep_impl(locale_ref)
  27. -> thousands_sep_result<wchar_t>;
  28. template FMT_API auto decimal_point_impl(locale_ref) -> wchar_t;
  29. template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*);
  30. } // namespace detail
  31. FMT_END_NAMESPACE