Click here to Skip to main content
15,907,396 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRich Edit Control... Pin
Manjunath S3-Feb-08 21:29
Manjunath S3-Feb-08 21:29 
GeneralRe: Rich Edit Control... Pin
Cedric Moonen3-Feb-08 21:44
Cedric Moonen3-Feb-08 21:44 
GeneralRe: Rich Edit Control... Pin
Manjunath S3-Feb-08 22:08
Manjunath S3-Feb-08 22:08 
GeneralRe: Rich Edit Control... Pin
Manjunath S3-Feb-08 22:25
Manjunath S3-Feb-08 22:25 
GeneralGenerate Bitmap Pin
azusakt3-Feb-08 21:28
azusakt3-Feb-08 21:28 
GeneralRe: Generate Bitmap Pin
CPallini3-Feb-08 21:57
mveCPallini3-Feb-08 21:57 
GeneralRe: Generate Bitmap [modified] Pin
azusakt4-Feb-08 14:49
azusakt4-Feb-08 14:49 
Generallife cycle of exception object Pin
George_George3-Feb-08 21:17
George_George3-Feb-08 21:17 
Hello everyone,


1.

Suppose I have code like this. According to the standard, the storage of exception object is undefined (could be either on stack or on heap?).

2.

I am wondering what is the life cycle of the exception object which reference variable e binded to? For example, could we bind a global reference to the exception object referred by e? Or doing something on the exception object beyond the bracket?

3.

The life cycle of variable e itself should not beyond the bracket, right?

catch (exception& e)
{
    // ...
}



thanks in advance,
George
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 21:46
Maxwell Chen3-Feb-08 21:46 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 21:54
George_George3-Feb-08 21:54 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 22:09
Maxwell Chen3-Feb-08 22:09 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 22:19
George_George3-Feb-08 22:19 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 22:30
Maxwell Chen3-Feb-08 22:30 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 22:42
George_George3-Feb-08 22:42 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 22:52
Maxwell Chen3-Feb-08 22:52 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 22:56
George_George3-Feb-08 22:56 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 23:02
Maxwell Chen3-Feb-08 23:02 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 23:24
George_George3-Feb-08 23:24 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 23:35
Maxwell Chen3-Feb-08 23:35 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 23:50
George_George3-Feb-08 23:50 
Generalcstring to tchar* conversion Pin
guru moorthy.k3-Feb-08 21:05
guru moorthy.k3-Feb-08 21:05 
GeneralRe: cstring to tchar* conversion Pin
Cedric Moonen3-Feb-08 21:11
Cedric Moonen3-Feb-08 21:11 
GeneralRe: cstring to tchar* conversion [modified] Pin
CPallini3-Feb-08 21:46
mveCPallini3-Feb-08 21:46 
GeneralRe: cstring to tchar* conversion Pin
toxcct4-Feb-08 1:48
toxcct4-Feb-08 1:48 
GeneralRe: cstring to tchar* conversion Pin
CPallini4-Feb-08 2:06
mveCPallini4-Feb-08 2:06 

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.