Skip to content
Discussion options

You must be logged in to vote

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 proxy is the only parameter of a constructor (like Mocha::Mocha(proxy) in your case), it will be shadowed by the constructor of proxy (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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zhiyongww
Comment options

Answer selected by zhiyongww
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants