Skip to content
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

string to long double #2

Closed
plumzero opened this issue Mar 17, 2020 · 2 comments
Closed

string to long double #2

plumzero opened this issue Mar 17, 2020 · 2 comments

Comments

@plumzero
Copy link
Contributor

should not this!

    inline double operator |(long double fallback) const {
        return strparse<long double, std::stold>(_value, fallback);
    }

should this?

    inline long double operator |(long double fallback) const {
        return strparse<long double, std::stold>(_value, fallback);
    }
@Qix-
Copy link
Owner

Qix- commented Mar 19, 2020

Hey, great catch! You are correct. I'm away from my machine right now; would you like to submit a pull request? :)

@Qix-
Copy link
Owner

Qix- commented Mar 19, 2020

Fixed in #3 - thanks again!

@Qix- Qix- closed this as completed Mar 19, 2020
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

No branches or pull requests

2 participants