-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fall back to constexpr append for floating point
Use macros to check if the standard library version supports std::to_char for floating point, otherwise fall back to the constexpr append. We do need to specifically check the library version, NOT the compiler version. At least on compilers that will let you use a different library like GCC and Clang. clang-cl is a possibility, but it will pretend to be MSVC. This is why we check for libc++ before checking _MSC_VER.
- Loading branch information
1 parent
151c9d0
commit 36090de
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters