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

error_code does not convert to result<Eigen::Matrix4d> #103

Closed
pdimov opened this issue Jan 20, 2023 · 0 comments
Closed

error_code does not convert to result<Eigen::Matrix4d> #103

pdimov opened this issue Jan 20, 2023 · 0 comments

Comments

@pdimov
Copy link
Member

pdimov commented Jan 20, 2023

https://godbolt.org/z/9n9xY33Pn, as reported in boostorg/json#843. Eigen::Matrix4d does have a constructor taking any T, but it's explicit, and the conversion from error_code to result<Eigen::Matrix4d> is implicit, so the explicit constructor shouldn't be considered.

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

1 participant