mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Clarify why we cannot have nice things
This commit is contained in:
parent
5bafcb437b
commit
7893d85394
@ -1381,6 +1381,8 @@ struct is_contiguous_back_insert_iterator<std::back_insert_iterator<Container>>
|
||||
: is_contiguous<Container> {};
|
||||
|
||||
/** Formats a string and writes the output to ``out``. */
|
||||
// GCC 8 and earlier cannot handle std::back_insert_iterator<Container> with
|
||||
// vformat_to<ArgFormatter>(...) overload, so SFINAE on iterator type instead.
|
||||
template <typename OutputIt, typename S, typename Char = char_t<S>,
|
||||
FMT_ENABLE_IF(is_contiguous_back_insert_iterator<OutputIt>::value)>
|
||||
OutputIt vformat_to(OutputIt out, const S& format_str,
|
||||
|
Loading…
Reference in New Issue
Block a user