Simplify char_t and remove msvc2013 from CI

This commit is contained in:
Victor Zverovich
2019-05-31 19:28:37 -07:00
parent 406e632bd1
commit 634f707f2b
3 changed files with 3 additions and 10 deletions
+1 -8
View File
@@ -1306,16 +1306,9 @@ struct wformat_args : basic_format_args<wformat_context> {
: basic_format_args<wformat_context>(std::forward<Args>(arg)...) {}
};
#ifndef FMT_USE_ALIAS_TEMPLATES
# define FMT_USE_ALIAS_TEMPLATES FMT_HAS_FEATURE(cxx_alias_templates)
#endif
#if FMT_USE_ALIAS_TEMPLATES
/** String's character type. */
template <typename S> using char_t = typename internal::char_t<S>::type;
# define FMT_CHAR(S) fmt::char_t<S>
#else
# define FMT_CHAR(S) typename internal::char_t<S>::type
#endif
#define FMT_CHAR(S) fmt::char_t<S>
namespace internal {
template <typename Context>