Workaround various icc bugs (#822)
diff --git a/include/fmt/printf.h b/include/fmt/printf.h
index cbf08a4..3ed37b2 100644
--- a/include/fmt/printf.h
+++ b/include/fmt/printf.h
@@ -337,7 +337,9 @@
/** This template formats data and writes the output to a writer. */
template <typename OutputIt, typename Char, typename ArgFormatter>
class basic_printf_context :
- private internal::context_base<
+ // Inherit publicly as a workaround for the icc bug
+ // https://software.intel.com/en-us/forums/intel-c-compiler/topic/783476.
+ public internal::context_base<
OutputIt, basic_printf_context<OutputIt, Char, ArgFormatter>, Char> {
public:
/** The character type for the output. */