Closed pdimov closed 1 year ago
https://godbolt.org/z/9n9xY33Pn, as reported in https://github.com/boostorg/json/issues/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.
Eigen::Matrix4d
T
error_code
result<Eigen::Matrix4d>
https://godbolt.org/z/9n9xY33Pn, as reported in https://github.com/boostorg/json/issues/843.
Eigen::Matrix4d
does have a constructor taking anyT
, but it's explicit, and the conversion fromerror_code
toresult<Eigen::Matrix4d>
is implicit, so the explicit constructor shouldn't be considered.