| commit | 684b5b0e40d1322cf7e489dac1233a1539ba949b | [log] [tgz] |
|---|---|---|
| author | Alexey Ochapov <alexez@alexez.com> | Thu Mar 04 18:20:57 2021 +0300 |
| committer | GitHub <noreply@github.com> | Thu Mar 04 07:20:57 2021 -0800 |
| tree | 395930ec3d392ed7e0990326a6792ec599d5a12f | |
| parent | d8b92543017053a2b2c5ca901ea310e20690b137 [diff] |
Fix fallback to runtime API from compile-time API (#2143) * fix fallback to the runtime API, add FMT_ENABLE_FALLBACK_TO_RUNTIME_API define, add test * remove `FMT_ENABLE_FALLBACK_TO_RUNTIME_API` * pass format string to format_to() inside format_to_n() in compile-time API instead of compiling it inside format_to_n(), to eliminate code duplication