Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-28 | added f_to_string | Clyne Sullivan | |
2020-06-28 | added f_to_string | Clyne Sullivan | |
2020-06-27 | Changed other base instance to signed | clyne | |
2020-06-27 | Merge pull request #1 from EnilPajic/patch-1-negative-minimum-value | clyne | |
Fixed potential bug with -MINIMUM_VALUE | |||
2020-06-27 | Change base from unsigned to signed | clyne | |
2020-06-27 | Merge branch 'master' into patch-1-negative-minimum-value | clyne | |
2020-06-27 | add const and references to container operations | Clyne Sullivan | |
2020-06-27 | Use end() in constructor | Clyne Sullivan | |
2020-06-27 | Merge pull request #4 from Neargye/master | clyne | |
container-like | |||
2020-06-27 | container-like | neargye | |
2020-06-26 | Update "how it works" section | clyne | |
2020-06-26 | Add note on custom character types | clyne | |
2020-06-26 | Add support for range-based for loops | clyne | |
2020-06-26 | Add support for different character widths | clyne | |
2020-06-26 | Forgot to support to_string<0> | clyne | |
2020-06-26 | Remove resolved issue with GCC/C++17 | clyne | |
2020-06-26 | Initialize buf for C++17 GCC; make to_string constexpr | clyne | |
https://www.reddit.com/r/cpp/comments/hgcaih/compiletime_integertostring_conversion_c17/fw3d2fm/ | |||
2020-06-26 | Fixed potential bug with -MINIMUM_VALUE | EnilPajic | |
Original code had something like `N < 0 ? -N : N` which could fail if `N` has minimum value of appropriate type. For example, in original code this could fail: ```cpp const long long int LL_MIN = std::numeric_limits<long long int>::min(); //probably: -9223372036854775808 static const char *number = to_string<LL_MIN, 10>; ``` Also note that this code relies on "modulo on negative first operands" which was implementation defined in C++03 and before, but with C++11 and later it is defined by standard (see `ISO14882:2011(e)`), and this code anyway targets C++17 so we're safe here. | |||
2020-06-26 | Added explanation of code | clyne | |
2020-06-26 | Described new changes | clyne | |
2020-06-26 | Remove redundant length calculation; expand base support to 36 | clyne | |
2020-06-26 | Added compiler explorer link | clyne | |
2020-06-26 | Update README.md | clyne | |
2020-06-26 | Create to_string.hpp | clyne | |
2020-06-26 | Initial commit | clyne | |