-
|
Hey, my code failed to compile, I'm not able to figure it out through error messages. Could you please help to take a look? thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @zhiyongww, sorry for the delayed response. This is a known issue in the latest release. While the diagnostics got improved, Proxy won't diagnose convertibility on the constructors. As a result, if This issue has been fixed on the main branch (see #278), and will be included in the next release. Please let me know if you have any further questions. |
Beta Was this translation helpful? Give feedback.
Hi @zhiyongww, sorry for the delayed response. This is a known issue in the latest release. While the diagnostics got improved, Proxy won't diagnose convertibility on the constructors. As a result, if
proxyis the only parameter of a constructor (likeMocha::Mocha(proxy)in your case), it will be shadowed by the constructor ofproxy(proxy::proxy(P&&)).This issue has been fixed on the main branch (see #278), and will be included in the next release. Please let me know if you have any further questions.