|
|
c3eb1e2909
|
Wrote tests for binary int formatting
|
2022-02-15 09:35:36 +01:00 |
|
|
|
313ca5e981
|
Merge pull request 'Added static_assert to check for string validity' (#1) from feature/compile_time_string_validity into master
Reviewed-on: http://git.mercurial-manifold.eu/an.tsouchlos/const_fmt/pulls/1
|
2022-02-14 22:25:16 +00:00 |
|
|
|
8241045158
|
Added static_assert to check for string validity
|
2022-02-14 22:36:43 +01:00 |
|
|
|
6666a25562
|
Added license
|
2022-02-13 23:48:17 +01:00 |
|
|
|
008c71381c
|
Changed example to show float formatting
|
2022-02-13 23:43:38 +01:00 |
|
|
|
9c22b2a084
|
Added test cases for floats
|
2022-02-13 23:40:16 +01:00 |
|
|
|
9bf3e63058
|
Implemented format_float in terms of format_int
|
2022-02-13 23:12:25 +01:00 |
|
|
|
4666b4e737
|
Added proper error handling for too long ints
|
2022-02-13 21:57:43 +01:00 |
|
|
|
1338888e0b
|
Now deciding at compile time how to format minus sign
|
2022-02-13 21:52:52 +01:00 |
|
|
|
f47a23ffef
|
PreZero padding now being handled by preprocessing
|
2022-02-13 20:47:41 +01:00 |
|
|
|
4128ede5db
|
English
|
2022-02-13 19:43:22 +01:00 |
|
|
|
bb5f4d5272
|
Renamed a bunch of identifiers to make sure there are no clashes with software this might be used in (fmt -> const_fmt)
|
2022-02-13 17:56:09 +01:00 |
|
|
|
3db91aebda
|
Proper example
|
2022-02-13 17:53:17 +01:00 |
|
|
|
2ecc001a64
|
Put everything into a new 'const_fmt' namespace; Renamed namespace detail to const_fmt_detail
|
2022-02-13 17:48:24 +01:00 |
|
|
|
70fd273a70
|
Merge branch 'master' of http://git.mercurial-manifold.eu/an.tsouchlos/const_fmt
|
2022-02-13 17:41:17 +01:00 |
|
|
|
9626f5efc4
|
Added examples folder and CMakeLists.txt in repo root directory
|
2022-02-13 17:40:33 +01:00 |
|
|
|
9c5a73e2bd
|
Removed Logger.h
|
2022-02-13 17:30:40 +01:00 |
|
|
|
50635a8e2f
|
Removed src directory
|
2022-02-13 17:29:55 +01:00 |
|
|
|
f9cbfdd018
|
Fixed typos in readme
|
2022-02-10 21:17:41 +00:00 |
|
|
|
55ff861f67
|
Renamed inc directory to const_fmt
|
2022-02-09 17:51:37 +01:00 |
|
|
|
d26cf43b32
|
Added note about including library in project
|
2022-02-09 16:48:02 +00:00 |
|
|
|
c9e845b025
|
Added limitations to README
|
2022-02-09 16:45:04 +00:00 |
|
|
|
6597a3a360
|
Added instruction to build and run the tests
|
2022-02-09 16:36:11 +00:00 |
|
|
|
5bf165463c
|
Created README
|
2022-02-09 16:31:45 +00:00 |
|
|
|
83f7f21635
|
Added build folder to gitignore
|
2022-02-09 17:21:46 +01:00 |
|
|
|
b50d5a7e0e
|
Changed comments
|
2022-01-05 01:15:52 +02:00 |
|
|
|
0db75bbdd8
|
Added missing return in format_decimal(); Added first support for negative numbers
|
2021-11-27 16:41:38 +01:00 |
|
|
|
50024240ef
|
Removed build files
|
2021-11-26 23:21:25 +01:00 |
|
|
|
fa0e733df6
|
Added count_digits()
|
2021-11-26 23:20:21 +01:00 |
|
|
|
ffa4a6a501
|
Added count_digits()
|
2021-11-26 23:19:57 +01:00 |
|
|
|
9b430b9902
|
Passing fmt_data to format_arg functions as constant expression
|
2021-11-26 14:44:17 +01:00 |
|
|
|
a0230a7e27
|
Refactored get_init_array() and get_zero_array() to get_init_array(char); Made all free functions inline
|
2021-11-26 14:27:45 +01:00 |
|
|
|
c0d0bb5bad
|
Shamelessly copied fmtlib code for decimal formatting; Added comment with idea about error handling
|
2021-11-26 01:02:10 +01:00 |
|
|
|
afa7831e93
|
Fixed parse issues: Format Type not being correctly parsed
|
2021-11-25 16:25:39 +01:00 |
|
|
|
7743c95631
|
Added user-defined literal for call to format()
|
2021-11-25 14:03:50 +01:00 |
|
|
|
3f46775b35
|
Moved functions to appropriate header files; Implemented const char* formatting
|
2021-11-25 11:04:24 +01:00 |
|
|
|
8ccceeef0d
|
Changed the way detail::format_args works: A preprocessing step yields the whole array without formatted values, values are then formatted in place
|
2021-11-25 10:16:09 +01:00 |
|
|
|
5a0185e074
|
Replaced if-statement-chain with switch case
|
2021-11-25 09:48:55 +01:00 |
|
|
|
4c054bea8a
|
Removed comment
|
2021-11-22 12:54:01 +01:00 |
|
|
|
040dae6bf3
|
Added tests for negative int formatting
|
2021-11-22 12:46:33 +01:00 |
|
|
|
ba86cc40a5
|
Fixed issues with minus on integers
|
2021-11-22 12:42:36 +01:00 |
|
|
|
0557bd1651
|
Moved get_init_array() to utility.h
|
2021-11-22 11:21:29 +01:00 |
|
|
|
12eec70058
|
Formatting
|
2021-11-22 11:18:48 +01:00 |
|
|
|
ee8f3a02e5
|
Readability changes and supressed warnings
|
2021-11-22 11:13:47 +01:00 |
|
|
|
5ad045fa58
|
Made code easier to read
|
2021-11-22 11:07:14 +01:00 |
|
|
|
800c141a87
|
Added more tests; is_digit(s, i) -> is_digit<s>(i); Minor other stuff
|
2021-11-22 10:53:55 +01:00 |
|
|
|
7b5290983a
|
Moved parse_types into namespace detail; Added test Parse_ast_nodes_only
|
2021-11-22 08:14:04 +01:00 |
|
|
|
5a4b9e3298
|
Started adding unit tests
|
2021-11-21 22:46:19 +01:00 |
|
|
|
ad737f1c73
|
Started implementing zero padding
|
2021-11-21 20:01:00 +01:00 |
|
|
|
f2de0773ed
|
format_arg(float) now works with the desired precision
|
2021-11-21 19:42:56 +01:00 |
|