![]() |
no matching function
class B{
private: int q; public: B(int b){ q = b; } }; class A{ private: int q; B b; public: A(){ q = 1; b = B.B(q); --как тут инициализировать переменную } }; в данном случае error: no matching function for call to 'B::B()' |
Re: no matching function
Цитата:
|
| Текущее время: 13:52. Часовой пояс GMT +3. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc. Перевод: zCarot
Copyright ©2004 - 2025 NoWa.cc