|
|
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 |
|
|
|
ba86cc40a5
|
Fixed issues with minus on integers
|
2021-11-22 12:42:36 +01:00 |
|
|
|
5ad045fa58
|
Made code easier to read
|
2021-11-22 11:07:14 +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 |
|
|
|
ce2006694e
|
Made format() constexpr
|
2021-11-21 18:59:35 +01:00 |
|
|
|
53091a30cd
|
Added format_arg() for integral and floating point types and char arrays
|
2021-11-21 18:52:07 +01:00 |
|
|
|
8bc8fa835d
|
Added recursive implementation of detail::format_args
|
2021-11-21 17:38:59 +01:00 |
|
|
|
0d72d35229
|
Implemented ast_node_T; parse_string now returns an actual AST; Moved functions to new files
|
2021-11-21 16:53:57 +01:00 |
|
|
|
92d8f423d8
|
Renamed result to value and moved testing code
|
2021-11-20 23:47:15 +01:00 |
|
|
|
c3ed767e82
|
parse_string now successfully returns an array of format_node objects
|
2021-11-19 18:27:46 +01:00 |
|
|
|
bb24f86d5d
|
Removed length from parse_result_t
|
2021-11-19 17:17:28 +01:00 |
|
|
|
435a7c442f
|
Refactored all parsing code to get the ConstString passed as a template parameter
|
2021-11-19 00:26:40 +01:00 |
|
|
|
7226241097
|
parse_fmt_string now returning struct containing actual format parameters
|
2021-11-19 00:17:28 +01:00 |
|
|
|
f1952186e0
|
Refactored parse_num and parse_type to return type parse_result
|
2021-11-18 23:53:15 +01:00 |
|
|
|
83332cc295
|
Wrapped everything in namespaces
|
2021-11-18 22:05:26 +01:00 |
|
|
|
c35eac9047
|
Added logger.h
|
2021-11-18 20:49:45 +01:00 |
|