rollbear / trompeloeil

Header only C++14 mocking framework
Boost Software License 1.0
802 stars 85 forks source link

Still ambigous match of wildcard _ for parameter type constructible from any T by value #299

Open rollbear opened 1 year ago

rollbear commented 1 year ago

Release v44 solved issue 293, where matching _ to a parameter type constructible from any const T& was ambigous. The solution handles that and T&& too.

The issue remains if constructed from T by value, however.

https://godbolt.org/z/9MnW3YnY4