Click here to Skip to main content
16,004,974 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Embeded local web server Pin
Chris Losinger4-Mar-10 3:39
professionalChris Losinger4-Mar-10 3:39 
GeneralRe: Embeded local web server Pin
ryanstd4-Mar-10 4:45
ryanstd4-Mar-10 4:45 
GeneralRe: Embeded local web server Pin
Chris Losinger4-Mar-10 5:25
professionalChris Losinger4-Mar-10 5:25 
AnswerRe: Embeded local web server Pin
QuiJohn4-Mar-10 4:45
QuiJohn4-Mar-10 4:45 
GeneralRe: Embeded local web server Pin
ryanstd4-Mar-10 5:00
ryanstd4-Mar-10 5:00 
AnswerRe: Embeded local web server Pin
Moak4-Mar-10 8:29
Moak4-Mar-10 8:29 
QuestionWhy can't I throw ostringstream? Pin
dims124-Mar-10 1:14
dims124-Mar-10 1:14 
AnswerRe: Why can't I throw ostringstream? Pin
CPallini4-Mar-10 2:42
mveCPallini4-Mar-10 2:42 
Because the compiler generation of the copy constructor of ostringstream fails, for instance you cannot either do
ostringstream o1,o2;
o2 = o1;


As workaround, you may use
throw &o;


for instance
o << "hi";
try
{
   throw &o;
}
catch( ostringstream * po)
{
  cout << po->str() << endl;
}
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

AnswerRe: Why can't I throw ostringstream? Pin
Cedric Moonen4-Mar-10 2:59
Cedric Moonen4-Mar-10 2:59 
QuestionApp Loading Pin
john56323-Mar-10 23:50
john56323-Mar-10 23:50 
AnswerRe: App Loading Pin
Adam Roderick J4-Mar-10 0:02
Adam Roderick J4-Mar-10 0:02 
GeneralRe: App Loading Pin
john56324-Mar-10 0:13
john56324-Mar-10 0:13 
GeneralRe: App Loading Pin
Adam Roderick J4-Mar-10 0:20
Adam Roderick J4-Mar-10 0:20 
GeneralRe: App Loading Pin
john56324-Mar-10 0:25
john56324-Mar-10 0:25 
GeneralRe: App Loading Pin
Adam Roderick J4-Mar-10 0:29
Adam Roderick J4-Mar-10 0:29 
GeneralRe: App Loading Pin
john56324-Mar-10 0:32
john56324-Mar-10 0:32 
GeneralRe: App Loading Pin
Adam Roderick J4-Mar-10 0:35
Adam Roderick J4-Mar-10 0:35 
GeneralRe: App Loading Pin
john56324-Mar-10 0:40
john56324-Mar-10 0:40 
GeneralRe: App Loading Pin
Adam Roderick J4-Mar-10 1:00
Adam Roderick J4-Mar-10 1:00 
GeneralRe: App Loading Pin
john56324-Mar-10 1:05
john56324-Mar-10 1:05 
GeneralRe: App Loading Pin
Adam Roderick J4-Mar-10 1:14
Adam Roderick J4-Mar-10 1:14 
GeneralRe: App Loading Pin
john56324-Mar-10 1:22
john56324-Mar-10 1:22 
GeneralRe: App Loading Pin
Adam Roderick J4-Mar-10 1:32
Adam Roderick J4-Mar-10 1:32 
GeneralRe: App Loading Pin
john56324-Mar-10 2:04
john56324-Mar-10 2:04 
QuestionRe: App Loading Pin
David Crow4-Mar-10 2:41
David Crow4-Mar-10 2:41 

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.