Commit ec665108 authored by Victor Zverovich's avatar Victor Zverovich

Remove old is_constructible workarounds and replace typedefs with using

parent 4d4b8c23
This diff is collapsed.
...@@ -329,12 +329,9 @@ template <typename T> struct printf_formatter { ...@@ -329,12 +329,9 @@ template <typename T> struct printf_formatter {
template <typename OutputIt, typename Char> class basic_printf_context { template <typename OutputIt, typename Char> class basic_printf_context {
public: public:
/** The character type for the output. */ /** The character type for the output. */
typedef Char char_type; using char_type = Char;
typedef basic_format_arg<basic_printf_context> format_arg; using format_arg = basic_format_arg<basic_printf_context>;
template <typename T> using formatter_type = printf_formatter<T>;
template <typename T> struct formatter_type {
typedef printf_formatter<T> type;
};
private: private:
typedef basic_format_specs<char_type> format_specs; typedef basic_format_specs<char_type> format_specs;
......
...@@ -209,7 +209,6 @@ struct custom_context { ...@@ -209,7 +209,6 @@ struct custom_context {
typedef char char_type; typedef char char_type;
template <typename T> struct formatter_type { template <typename T> struct formatter_type {
struct type {
template <typename ParseContext> template <typename ParseContext>
auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
return ctx.begin(); return ctx.begin();
...@@ -220,7 +219,6 @@ struct custom_context { ...@@ -220,7 +219,6 @@ struct custom_context {
return nullptr; return nullptr;
} }
}; };
};
bool called; bool called;
fmt::format_parse_context ctx; fmt::format_parse_context ctx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment