Click here to Skip to main content
15,906,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: free and delete[] Pin
«_Superman_»9-Jun-09 17:55
professional«_Superman_»9-Jun-09 17:55 
GeneralRe: free and delete[] Pin
N a v a n e e t h9-Jun-09 18:02
N a v a n e e t h9-Jun-09 18:02 
GeneralRe: free and delete[] Pin
«_Superman_»9-Jun-09 18:05
professional«_Superman_»9-Jun-09 18:05 
GeneralRe: free and delete[] Pin
Stuart Dootson9-Jun-09 22:37
professionalStuart Dootson9-Jun-09 22:37 
GeneralRe: free and delete[] Pin
N a v a n e e t h10-Jun-09 0:01
N a v a n e e t h10-Jun-09 0:01 
GeneralRe: free and delete[] Pin
Stuart Dootson10-Jun-09 0:13
professionalStuart Dootson10-Jun-09 0:13 
GeneralRe: free and delete[] Pin
N a v a n e e t h10-Jun-09 0:21
N a v a n e e t h10-Jun-09 0:21 
GeneralRe: free and delete[] Pin
Randor 11-Jun-09 14:12
professional Randor 11-Jun-09 14:12 
Hi Stuart and Navaneeth,

I was browing old posts and came across this discussion. The standards state that It is unspecified whether or not a reference requires storage which gives compiler venders alot of room for implementation. However I believe you are both correct depending on how the compiler performs optimization and has implemented references. I make this assertion because the ISO standards explicitly allow both scenarios.

Essentially it is not correct to say that references are always pointers. It is equally incorrect to say that references always refer directly to the object. It really comes down to language semantics.

Best Wishes,
-David Delaune
AnswerRe: free and delete[] Pin
N a v a n e e t h9-Jun-09 17:58
N a v a n e e t h9-Jun-09 17:58 
GeneralRe: free and delete[] Pin
chirag_chauhan9-Jun-09 19:33
chirag_chauhan9-Jun-09 19:33 
QuestionDecoding(decompressing) an image Pin
Bhavani_mnnit9-Jun-09 15:49
Bhavani_mnnit9-Jun-09 15:49 
AnswerRe: Decoding(decompressing) an image Pin
«_Superman_»9-Jun-09 16:08
professional«_Superman_»9-Jun-09 16:08 
GeneralRe: Decoding(decompressing) an image Pin
Bhavani_mnnit9-Jun-09 20:39
Bhavani_mnnit9-Jun-09 20:39 
QuestionSTRRET Structure Question Pin
nm_1149-Jun-09 14:02
nm_1149-Jun-09 14:02 
GeneralRe: STRRET Structure Question Pin
Michael Dunn9-Jun-09 16:09
sitebuilderMichael Dunn9-Jun-09 16:09 
AnswerRe: STRRET Structure Question Pin
«_Superman_»9-Jun-09 16:16
professional«_Superman_»9-Jun-09 16:16 
GeneralRe: STRRET Structure Question Pin
nm_1149-Jun-09 17:22
nm_1149-Jun-09 17:22 
GeneralRe: STRRET Structure Question Pin
«_Superman_»9-Jun-09 17:24
professional«_Superman_»9-Jun-09 17:24 
GeneralRe: STRRET Structure Question Pin
nm_1149-Jun-09 17:37
nm_1149-Jun-09 17:37 
QuestionDeployment Error. Pin
FISH7869-Jun-09 13:51
FISH7869-Jun-09 13:51 
AnswerRe: Deployment Error. Pin
chirag_chauhan9-Jun-09 19:35
chirag_chauhan9-Jun-09 19:35 
AnswerRe: Deployment Error. Pin
Cedric Moonen9-Jun-09 20:04
Cedric Moonen9-Jun-09 20:04 
GeneralRe: Deployment Error. Pin
FISH78610-Jun-09 1:39
FISH78610-Jun-09 1:39 
QuestionCString question [modified] Pin
transoft9-Jun-09 12:34
transoft9-Jun-09 12:34 
AnswerRe: CString question Pin
Ozer Karaagac9-Jun-09 13:12
professionalOzer Karaagac9-Jun-09 13:12 

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.