mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 21:16:56 +00:00
Add double support to compile
This commit is contained in:
parent
3487f1b9cd
commit
6bfc9af8c9
@ -373,6 +373,13 @@ OutputIt format_default(OutputIt out, T value) {
|
|||||||
return std::copy(fi.data(), fi.data() + fi.size(), out);
|
return std::copy(fi.data(), fi.data() + fi.size(), out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template <typename Char, typename OutputIt>
|
||||||
|
OutputIt format_default(OutputIt out, double value) {
|
||||||
|
writer w(out);
|
||||||
|
w.write(value);
|
||||||
|
return w.out();
|
||||||
|
}
|
||||||
|
|
||||||
template <typename Char, typename OutputIt>
|
template <typename Char, typename OutputIt>
|
||||||
OutputIt format_default(OutputIt out, Char value) {
|
OutputIt format_default(OutputIt out, Char value) {
|
||||||
*out++ = value;
|
*out++ = value;
|
||||||
|
Loading…
Reference in New Issue
Block a user