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

Numeric variant deduction type #1079

Open
stephenberry opened this issue Jun 12, 2024 · 0 comments
Open

Numeric variant deduction type #1079

stephenberry opened this issue Jun 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@stephenberry
Copy link
Owner

I want to be able to safely deduce and extract (.as<int64_t>()) types like std::variant<double, int64_t, uint64_t>. This is useful both big integer support with glz::json_t, but also in more general use cases of std::variant with various numeric types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant