CannibalSmith (cannibalsmith) rakstīja koderi kopienā, @ 2007-11-15 16:20:00 |
|
|||
#include <vector> using namespace std; class Boo { public: Boo() { }; Boo(Boo& boo) { }; }; void main() { vector<Boo> v; v.push_back(Boo()); }Error C2558: class 'Boo' : no copy constructor available or copy constructor is declared 'explicit'. Kāpēc?