Lets concider following code:
class A{ public: A(int x){} }; class B{ public: B(A a){}; }; int main() { B b = 5; return 0; }
And whi
Use direct initialisation instead:
B b(5);