Click here to Skip to main content
15,891,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Not much help but... Pin
Kiran Satish9-Oct-04 14:36
Kiran Satish9-Oct-04 14:36 
GeneralRe: Not much help but... Pin
Christian Graus10-Oct-04 9:04
protectorChristian Graus10-Oct-04 9:04 
GeneralRe: Not much help but... Pin
Kiran Satish10-Oct-04 9:37
Kiran Satish10-Oct-04 9:37 
GeneralRe: Not much help but... Pin
Kiran Satish23-Sep-04 6:28
Kiran Satish23-Sep-04 6:28 
GeneralRe: Not much help but... Pin
Christian Graus23-Sep-04 10:58
protectorChristian Graus23-Sep-04 10:58 
GeneralRe: Not much help but... Pin
Kiran Satish23-Sep-04 12:02
Kiran Satish23-Sep-04 12:02 
GeneralCTreeCtrl highlight design question ... Pin
Maximilien20-Sep-04 10:06
Maximilien20-Sep-04 10:06 
GeneralProblmes using std::map in a class Pin
Rickard Andersson2020-Sep-04 9:26
Rickard Andersson2020-Sep-04 9:26 
Server.h
class TcpServer
{
...
private:
	static map<SOCKET, TcpServer> m_instances;
...
};


When I build this, the compiler reports this:

error C2079: 'std::pair<_Ty1,_Ty2>::second' uses undefined class 'TcpServer'<br />
        with<br />
        [<br />
            _Ty1=const SOCKET,<br />
            _Ty2=TcpServer<br />
        ]


Any solution?

Rickard Andersson
Here is my card, contact me later!

UIN: 50302279
Sonork: 37318

GeneralRe: Problmes using std::map in a class Pin
Navin20-Sep-04 11:06
Navin20-Sep-04 11:06 
GeneralRe: Problmes using std::map in a class Pin
Jörgen Sigvardsson20-Sep-04 13:40
Jörgen Sigvardsson20-Sep-04 13:40 
GeneralRe: Problmes using std::map in a class Pin
Rickard Andersson2020-Sep-04 23:27
Rickard Andersson2020-Sep-04 23:27 
GeneralRe: Problmes using std::map in a class Pin
Moak21-Sep-04 1:13
Moak21-Sep-04 1:13 
Generalwinbase.h and STILL_ACTIVE Pin
ns20-Sep-04 8:40
ns20-Sep-04 8:40 
QuestionDialog window class name? Pin
0v3rloader20-Sep-04 8:22
0v3rloader20-Sep-04 8:22 
AnswerRe: Dialog window class name? Pin
mfcuser20-Sep-04 9:40
mfcuser20-Sep-04 9:40 
AnswerRe: Dialog window class name? Pin
David Crow20-Sep-04 10:28
David Crow20-Sep-04 10:28 
AnswerRe: Dialog window class name? Pin
Jörgen Sigvardsson20-Sep-04 13:27
Jörgen Sigvardsson20-Sep-04 13:27 
AnswerRe: Dialog window class name? Pin
Sujan Christo20-Sep-04 18:00
Sujan Christo20-Sep-04 18:00 
QuestionHow to programmatically show and hide Windows XP destktop icons? Pin
Steve Messer20-Sep-04 7:08
Steve Messer20-Sep-04 7:08 
GeneralC++ question Pin
Anonymous20-Sep-04 6:20
Anonymous20-Sep-04 6:20 
GeneralRe: C++ question Pin
Bob Stanneveld20-Sep-04 6:34
Bob Stanneveld20-Sep-04 6:34 
GeneralRe: C++ question - sorry Pin
Anonymous20-Sep-04 6:52
Anonymous20-Sep-04 6:52 
GeneralRe: C++ question - sorry Pin
Bob Stanneveld20-Sep-04 6:57
Bob Stanneveld20-Sep-04 6:57 
GeneralRe: C++ question - sorry Pin
Anonymous20-Sep-04 7:40
Anonymous20-Sep-04 7:40 
GeneralRe: C++ question - sorry Pin
Bob Stanneveld20-Sep-04 9:08
Bob Stanneveld20-Sep-04 9:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.