![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2005
Posts: 1
Rep Power: 0
![]() |
vectors in visual C++
When I implement this in my implementation file
std::vector<CStatic>text(80); I get this error ken7Dlg.cpp c:\program files\microsoft visual studio\vc98\include\xmemory(34) : error C2558: class 'CStatic' : no copy constructor available c:\program files\microsoft visual studio\vc98\include\xmemory(66) : see reference to function template instantiation 'void __cdecl std::_Construct(class CStatic *,const class CStatic &)' being compiled Error executing cl.exe. I looked in location of the error and there isn't a copy constructor. I also looked at the other constructor and destructor to get an idea of if i can write the copy constructor but i definitely can not. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|