Skip to content

Comments

fix: use strtod fallback when std::from_chars(float) unavailable#572

Open
zhjwpku wants to merge 2 commits intoapache:mainfrom
zhjwpku:fix_parser_number_when_linking_libc++
Open

fix: use strtod fallback when std::from_chars(float) unavailable#572
zhjwpku wants to merge 2 commits intoapache:mainfrom
zhjwpku:fix_parser_number_when_linking_libc++

Conversation

@zhjwpku
Copy link
Collaborator

@zhjwpku zhjwpku commented Feb 22, 2026

closes #571

@HuaHuaY
Copy link
Contributor

HuaHuaY commented Feb 22, 2026

Can we implement this by SFINAE or concept instead of using macro?

@zhjwpku
Copy link
Collaborator Author

zhjwpku commented Feb 23, 2026

Can we implement this by SFINAE or concept instead of using macro?

I tried, but it still requires relying on the _LIBCPP_VERSION macro, I would appreciate your suggestions if there is a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

libc++ on Apple platforms may not provide floating-point std::from_chars

2 participants