mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-25 11:40:06 +00:00
Fix back_inserter lookup for non-std containers
This commit is contained in:
parent
c98518351e
commit
bf870ae3d1
@ -1095,7 +1095,7 @@ class iterator_buffer<
|
|||||||
explicit iterator_buffer(OutputIt out, size_t = 0)
|
explicit iterator_buffer(OutputIt out, size_t = 0)
|
||||||
: iterator_buffer(get_container(out)) {}
|
: iterator_buffer(get_container(out)) {}
|
||||||
|
|
||||||
auto out() -> OutputIt { return back_inserter(container_); }
|
auto out() -> OutputIt { return OutputIt(container_); }
|
||||||
};
|
};
|
||||||
|
|
||||||
// A buffer that counts the number of code units written discarding the output.
|
// A buffer that counts the number of code units written discarding the output.
|
||||||
|
Loading…
Reference in New Issue
Block a user