Click here to Skip to main content
16,019,618 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: exceptions Pin
David Crow22-Aug-06 9:21
David Crow22-Aug-06 9:21 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 9:22
Zac Howland22-Aug-06 9:22 
QuestionRe: exceptions Pin
David Crow22-Aug-06 9:32
David Crow22-Aug-06 9:32 
AnswerRe: exceptions Pin
Zac Howland22-Aug-06 9:42
Zac Howland22-Aug-06 9:42 
GeneralRe: exceptions Pin
David Crow22-Aug-06 9:47
David Crow22-Aug-06 9:47 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 10:08
Zac Howland22-Aug-06 10:08 
GeneralRe: exceptions Pin
David Crow22-Aug-06 10:25
David Crow22-Aug-06 10:25 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 13:34
Zac Howland22-Aug-06 13:34 
DavidCrow wrote:
True, but I see no way of knowing this without looking at the constructor's implementation.


That is in the src directory ... can't remember the filename off the top of my head, but it isn't too difficult to search for.


DavidCrow wrote:
Neither one. I don't find "throw" in any class definition.


I know I've seen it in some of the MFC definitions before, but when I do a search on my VS.Net 2003, I find it in the implementation of STL:

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xstddef(26): #define _THROW0()	throw ()
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xstddef(27): #define _THROW1(x)	throw (...)
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xstddef(28): #define _THROW(x, y)	throw x(y)
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xstddef(39): #define _THROW0()
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xstddef(40): #define _THROW1(x)
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xstddef(41): #define _THROW(x, y)	x(y)._Raise()
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(592):			_THROW(out_of_range, "invalid map/set<T> iterator");
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(913):			_THROW(length_error, "map/set<T> too long");
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(866):	istreambuf_iterator(streambuf_type *_Sb = 0) _THROW0()
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(871):	istreambuf_iterator(istream_type& _Istr) _THROW0()
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(969):	ostreambuf_iterator(streambuf_type *_Sb) _THROW0()
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(974):	ostreambuf_iterator(ostream_type& _Ostr) _THROW0()
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1003):	bool failed() const _THROW0()


Among a host of others.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

AnswerRe: exceptions Pin
Zac Howland22-Aug-06 9:09
Zac Howland22-Aug-06 9:09 
GeneralRe: exceptions Pin
Cedric Moonen22-Aug-06 9:23
Cedric Moonen22-Aug-06 9:23 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 9:46
Zac Howland22-Aug-06 9:46 
AnswerRe: exceptions Pin
jon-8022-Aug-06 9:38
professionaljon-8022-Aug-06 9:38 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 9:52
Zac Howland22-Aug-06 9:52 
AnswerRe: exceptions Pin
markkuk22-Aug-06 11:22
markkuk22-Aug-06 11:22 
QuestionRe: exceptions Pin
jon-8023-Aug-06 4:50
professionaljon-8023-Aug-06 4:50 
QuestionHide window Pin
Manjunath S22-Aug-06 8:46
Manjunath S22-Aug-06 8:46 
AnswerRe: Hide window Pin
Jun Du22-Aug-06 9:39
Jun Du22-Aug-06 9:39 
AnswerRe: Hide window Pin
eusto22-Aug-06 9:44
eusto22-Aug-06 9:44 
QuestionError: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
jon-8022-Aug-06 7:59
professionaljon-8022-Aug-06 7:59 
AnswerRe: Error: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
Cedric Moonen22-Aug-06 8:23
Cedric Moonen22-Aug-06 8:23 
GeneralRe: Error: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
jon-8022-Aug-06 8:42
professionaljon-8022-Aug-06 8:42 
GeneralRe: Error: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
Cedric Moonen22-Aug-06 8:48
Cedric Moonen22-Aug-06 8:48 
GeneralRe: Error: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
jon-8022-Aug-06 8:58
professionaljon-8022-Aug-06 8:58 
GeneralRe: Error: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
Zac Howland22-Aug-06 9:25
Zac Howland22-Aug-06 9:25 
AnswerRe: Error: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
Zac Howland22-Aug-06 9:38
Zac Howland22-Aug-06 9:38 

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.