-
Notifications
You must be signed in to change notification settings - Fork 8
reenable consteval on from_string test #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@UF4007 Do You work on windows (I work on linux and I try to avoid runing >VM with win) ? Can You see why from_string fails consteval testing on msvc only ? |
|
It seems MSVC does not support static constexpr variables within functions. |
|
@UF4007 WHY DID YOU merge ? |
|
|
||
| namespace string | ||
| { | ||
| constexpr fixed_internal power[14]{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is wrong it should be inline constexpr as constexpr defaults to static,when in a header You have static then it is ODR when used in multiple translation units
|
|
||
| inline constexpr isdigit_t isdigit; | ||
|
|
||
| namespace string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is potentialy coliding with string in name.
It should be in a fixedmath::detail namespace
|
Sorry, I am too hurried |
|
Ill fix that |
No description provided.