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 {
template <typename OutputIt, typename Char> class basic_printf_context {
public:
/** The character type for the output. */
typedef Char char_type;
typedef basic_format_arg<basic_printf_context> format_arg;
template <typename T> struct formatter_type {
typedef printf_formatter<T> type;
};
using char_type = Char;
using format_arg = basic_format_arg<basic_printf_context>;
template <typename T> using formatter_type = printf_formatter<T>;
private:
typedef basic_format_specs<char_type> format_specs;
......
......@@ -209,7 +209,6 @@ struct custom_context {
typedef char char_type;
template <typename T> struct formatter_type {
struct type {
template <typename ParseContext>
auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
return ctx.begin();
......@@ -220,7 +219,6 @@ struct custom_context {
return nullptr;
}
};
};
bool called;
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