fix and improve module (#3386)

* export public documented API
* don't export `namespace detail`
* add `std.h` into module
* add missing namespace qualification in `xchar.h`
* fix call to `detail::get_iterator` in `xchar.h`
* fix ambiguous overload of `detail::isfinite` in `chrono.h`
This commit is contained in:
Daniela Engert
2023-04-18 06:47:01 -07:00
committed by GitHub
parent 8ec94ac6a5
commit 0489c19dcb
6 changed files with 32 additions and 8 deletions
+1 -1
View File
@@ -1666,7 +1666,7 @@ struct chrono_format_checker : null_chrono_spec_handler<chrono_format_checker> {
FMT_CONSTEXPR void on_duration_unit() {}
};
template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)>
template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value && has_isfinite<T>::value)>
inline bool isfinite(T) {
return true;
}