Victor Zverovich
|
83f052930a
|
Add code from p0645
|
2019-01-20 15:12:01 -08:00 |
|
Victor Zverovich
|
dad1eec842
|
Workaround unimplemented T... on gcc 4.6.x (#1008)
|
2019-01-16 11:41:20 -08:00 |
|
Victor Zverovich
|
dde095fab8
|
Revert "Reorder defines"
This reverts commit 4a059914a9 .
|
2019-01-13 08:13:38 -08:00 |
|
Victor Zverovich
|
4a059914a9
|
Reorder defines
|
2019-01-13 07:40:37 -08:00 |
|
Victor Zverovich
|
58b6f8db48
|
Format the code using clang-format
|
2019-01-13 06:58:20 -08:00 |
|
stryku
|
9a777b9e1c
|
Implemented fmt::prepare()
Implementation of fmt::prepare() function and features around it.
|
2019-01-12 10:53:31 -08:00 |
|
Victor Zverovich
|
b3ad759a0a
|
Bump version and correct changelog
|
2018-12-28 13:09:31 -08:00 |
|
Victor Zverovich
|
b34d92b051
|
Bump version
|
2018-12-28 12:23:29 -08:00 |
|
Victor Zverovich
|
84e5170c9c
|
Update changelog and deprecate visit
|
2018-12-24 10:02:41 -08:00 |
|
Victor Zverovich
|
7f7504b3f5
|
Clean up docs
|
2018-12-12 18:21:13 -08:00 |
|
Victor Zverovich
|
ea5e4790bd
|
Fix formatting
|
2018-12-03 08:58:48 -08:00 |
|
Johan J
|
e867768ee6
|
Do not override user provided compile flag
|
2018-12-03 07:31:19 -08:00 |
|
Daniela Engert
|
e7e2ab1070
|
Make return type of basic_format_args::max_size() consistent.
This squashes nasty narrowing conversion warnings.
|
2018-12-01 17:07:21 -08:00 |
|
Victor Zverovich
|
bcf3fcd673
|
Clean up bit fiddling for argument packing
|
2018-11-30 17:04:49 -08:00 |
|
Victor Zverovich
|
64690d3a97
|
Add context_base::arg()
|
2018-11-24 10:49:48 -08:00 |
|
Victor Zverovich
|
982ee5c699
|
parse_context -> format_parse_context
|
2018-11-21 07:10:22 -08:00 |
|
Victor Zverovich
|
6c95fb3562
|
Default Context to format_context
|
2018-11-18 07:19:25 -08:00 |
|
Victor Zverovich
|
f2ee988105
|
Improve locale support
|
2018-11-14 12:07:39 -08:00 |
|
Victor Zverovich
|
bdda4d6030
|
Simplify compile-time strings
|
2018-10-28 09:02:03 -07:00 |
|
XZiar
|
2dea780fbd
|
change type naming and fix sfinae bug
|
2018-10-28 06:00:55 -07:00 |
|
XZiar
|
b98e8301d5
|
add non-char support for compile-time format check
|
2018-10-28 06:00:55 -07:00 |
|
Victor Zverovich
|
ccd3e8bbf3
|
Make is_constructible public (#918)
|
2018-10-27 17:10:19 -07:00 |
|
Victor Zverovich
|
0a96c032b9
|
Parameterize v*printf on string type (#920)
|
2018-10-25 13:52:08 -07:00 |
|
Victor Zverovich
|
61e6d2e38c
|
Fix core version of vformat_to
|
2018-10-25 06:21:41 -07:00 |
|
Victor Zverovich
|
ea4010d704
|
Merge has_to_string_view into is_string
|
2018-10-24 18:16:00 -07:00 |
|
Victor Zverovich
|
486fff597c
|
Add sprintf_format instantiations and remove syntactic noise
|
2018-10-24 16:46:32 -07:00 |
|
Victor Zverovich
|
f0328f8e36
|
Use char_traits::length in string_view ctor (#914)
|
2018-10-24 15:21:21 -07:00 |
|
Victor Zverovich
|
20c708bf6d
|
Fix build on gcc 4.4
|
2018-10-24 10:52:02 -07:00 |
|
Daniela Engert
|
2c81c851b2
|
Adapt any string-like type to be used by {fmt} just like the standard string types already supported. The adaption is totally non-intrusive.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-22 18:25:52 -07:00 |
|
Daniela Engert
|
6a685571df
|
Make 'std::*::basic_string_view' a valid argument type for 'format_str' parameters.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-08 06:12:02 -07:00 |
|
Victor Zverovich
|
655ce53383
|
is_format_string -> is_string
|
2018-10-07 12:45:22 -07:00 |
|
Daniela Engert
|
f16a118e88
|
Fix non-matching char types.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-07 05:56:21 -07:00 |
|
Victor Zverovich
|
041bf83d9b
|
Improve fmt::format readability
|
2018-10-05 18:42:02 -07:00 |
|
Victor Zverovich
|
f5480635c0
|
visit -> visit_format_arg
|
2018-10-05 07:15:41 -07:00 |
|
Victor Zverovich
|
cdf3fa08dc
|
Put related code together in fmt/core.h
|
2018-10-04 19:44:09 -07:00 |
|
Victor Zverovich
|
38325248e5
|
Count width in code points (#628)
|
2018-10-03 20:09:46 -07:00 |
|
Daniela Engert
|
deb901b9e4
|
Parameterize core functions on the type of the format string.
Take #2 of n
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-03 14:19:08 -07:00 |
|
Victor Zverovich
|
0f98de3011
|
Update docs
|
2018-10-03 12:07:55 -07:00 |
|
Victor Zverovich
|
c797708fcc
|
Workaround strlen being non-constexpr in ARM toolchain
|
2018-10-03 09:23:49 -07:00 |
|
Victor Zverovich
|
63a87beba4
|
Add to_string_view
|
2018-10-01 18:48:18 -07:00 |
|
Victor Zverovich
|
4e0c314654
|
checked_format_args -> checked_args
|
2018-10-01 07:14:59 -07:00 |
|
Victor Zverovich
|
c3538a1eee
|
Simplify variadic functions further
|
2018-09-30 22:19:32 -07:00 |
|
Victor Zverovich
|
2d7d0835d7
|
Simplify variadic functions
|
2018-09-30 21:52:47 -07:00 |
|
Victor Zverovich
|
76a47d41c8
|
Cleanup the use of FMT_CHAR
|
2018-09-30 08:45:57 -07:00 |
|
Daniela Engert
|
267fdc7a1b
|
Parameterize core functions on the type of the format string.
Take #1 of n
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-09-30 08:40:58 -07:00 |
|
Victor Zverovich
|
5bced12421
|
Parameterize more functions on string type
|
2018-09-30 08:02:19 -07:00 |
|
Guillaume Fraux
|
e864acfdbd
|
Fix compilation with intel compilers (ICC/ICPC) v14.0
|
2018-09-27 07:11:23 -07:00 |
|
Daniela Engert
|
4cf21f58b2
|
constrain templated format_to on proper format string type.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-09-26 21:05:47 -07:00 |
|
Victor Zverovich
|
d66fa2216e
|
Reduce syntactic noise
|
2018-09-23 14:31:14 -07:00 |
|
Victor Zverovich
|
48e6dcd0f2
|
Implement workarounds for gcc 4.4
|
2018-09-23 12:29:48 -07:00 |
|