Victor Zverovich
7d3de49715
Implement double to fp conversion
2018-05-06 13:37:49 -07:00
Victor Zverovich
a4c7d99f70
Add bit_cast
2018-05-06 11:52:51 -07:00
Elias Kosunen
0adccaefb6
Fix a -Wundef of _LIBCPP_VERSION
2018-05-05 07:43:22 -07:00
Daniela Engert
2570f1afdc
Provide more overloads for the wide string flavour
...
Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-05-05 07:31:44 -07:00
Michael Winterberg
ca31ca13f1
Fixed arg_formatter_base::write_pointer to not mutate the format specs.
...
This fixes cases where arg_formatters are reused, like with arg_join.
2018-05-01 07:12:27 -07:00
Daniela Engert
6cd666100f
remove trailing spaces.
...
Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-05-01 07:10:05 -07:00
Victor Zverovich
fe19c266ce
Move format_string to fmt namespace for ADL
2018-04-29 08:35:20 -07:00
Victor Zverovich
2768af2388
Add cached powers of 10
2018-04-29 06:33:05 -07:00
Victor Zverovich
dd296e1de0
Add a script to compute powers of 10
2018-04-28 14:32:05 -07:00
DanielaE
0efc8a1808
Fix compiler warning about narrowing
...
Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-04-27 06:41:43 -07:00
Victor Zverovich
df1ba52b64
Update example
2018-04-22 17:04:28 -07:00
Victor Zverovich
221b08fd8f
Merge branch 'master' of github.com:fmtlib/fmt
2018-04-22 09:16:34 -07:00
Victor Zverovich
fa9066fe3e
context_base::begin -> out
2018-04-22 09:16:32 -07:00
Elias Kosunen
90ff31b38e
Fix a -Wundef warning on clang
...
Resolves #715
2018-04-22 09:13:55 -07:00
Victor Zverovich
b1f68c43b5
Merge branch 'master' of github.com:fmtlib/fmt
2018-04-21 19:21:41 -07:00
Victor Zverovich
cd90097ca4
Implement handmade FP
2018-04-21 17:26:24 -07:00
Victor Zverovich
822eccc3b8
Sync API with standards proposal
2018-04-21 14:29:24 -07:00
Daniela Engert
2ae41242a5
allow time formatting with wchar_t contexts
...
change total specialization of 'struct formatter<std::tm>' into partial specialization 'template <typename Char> struct formatter<std::tm, Char>', backed by matching 'strftime'-like overloads
2018-04-18 18:55:49 -07:00
Victor Zverovich
a1579b0ff8
Update key
2018-04-16 18:22:03 -07:00
Victor Zverovich
ded921f0a2
Fix documentation build, take 2
2018-04-15 10:34:04 -07:00
Victor Zverovich
3284751f43
Fix documentation build
2018-04-15 09:49:37 -07:00
Victor Zverovich
bb738c4c26
Remove section on Write API since it's being superceeded by compile-time Format API
2018-04-15 09:13:44 -07:00
Victor Zverovich
d180c25c8f
Update godbolt link
2018-04-15 06:19:38 -07:00
Victor Zverovich
1ed842a3b4
Update godbolt link
2018-04-14 12:41:08 -07:00
Victor Zverovich
e80aba1c2b
Remove format_float stub
2018-04-14 12:40:53 -07:00
Victor Zverovich
7b8cb3135a
Make context_base::args() public
2018-04-14 12:40:26 -07:00
Christian Parpart
48ae0506de
fixes MSVC compiler warning bloat (Visual Studio 2017, latest updates)
2018-04-11 06:53:27 -07:00
Victor Zverovich
096c4051b2
Simplify char_traits
2018-04-08 13:38:12 -07:00
Victor Zverovich
7610c5362a
Remove unused macro
2018-04-08 11:54:22 -07:00
Victor Zverovich
111fa5814b
Update README.rst
2018-04-08 09:03:37 -07:00
Victor Zverovich
52fcef1e57
Update docs
2018-04-08 07:33:07 -07:00
Victor Zverovich
7d28674d3a
make_args -> make_format_args
2018-04-08 07:21:26 -07:00
Victor Zverovich
9382b76f2a
context_t -> format_context_t
2018-04-08 07:09:34 -07:00
Victor Zverovich
fd0b07a75a
(w)context -> (w)format_context
2018-04-08 07:03:44 -07:00
Victor Zverovich
26aa34f319
basic_context -> basic_format_context
2018-04-08 06:45:21 -07:00
Victor Zverovich
44cc034651
Relax string_view requirements
2018-04-07 16:18:01 -07:00
Victor Zverovich
0829cab8f2
Remove from_checked
2018-04-07 15:21:48 -07:00
Victor Zverovich
cb7bbc6224
Improve checked iterator support
2018-04-07 15:11:34 -07:00
Victor Zverovich
5079f924d6
Fix a narrowing warning
2018-04-07 14:42:09 -07:00
Victor Zverovich
5859e58ba1
Fix msvc warnings
2018-04-04 21:11:31 -07:00
Victor Zverovich
1e747f603f
Fix msvc warnings
2018-04-04 20:57:02 -07:00
Victor Zverovich
9d4efd7aa2
Iterator Wars VI: Return of the checked iterator
2018-04-04 20:15:02 -07:00
Victor Zverovich
9764f55891
Update docs
2018-04-04 07:53:19 -07:00
Victor Zverovich
4ef97b9bb2
Add a missing comma
2018-04-04 07:43:51 -07:00
Victor Zverovich
23759b2688
basic_arg -> basic_format_arg, arg_store -> format_arg_store
2018-04-04 07:38:21 -07:00
Victor Zverovich
4975297eb0
Simplify counting iterators
2018-03-31 07:47:30 -10:00
Victor Zverovich
e8e006f4e7
Fix compile checks for mixing narrow and wide strings ( #690 )
2018-03-30 09:29:47 -10:00
Victor Zverovich
c5ebecf7c6
Document format_to_n
2018-03-30 08:31:41 -10:00
Victor Zverovich
3cf0526316
Return output iterator to the end from format_to_n
2018-03-30 08:20:12 -10:00
Victor Zverovich
174087bfdb
Implement format_to_n
2018-03-29 15:13:10 -10:00