Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Joke[Message Deleted] Pin
rogery27-Dec-07 6:30
rogery27-Dec-07 6:30 
GeneralRe: Off-topic Pin
George_George27-Dec-07 16:37
George_George27-Dec-07 16:37 
GeneralRe: Off-topic Pin
CPallini28-Dec-07 1:55
mveCPallini28-Dec-07 1:55 
JokeRe: Off-topic Pin
CPallini17-Dec-07 4:01
mveCPallini17-Dec-07 4:01 
GeneralRe: Off-topic Pin
George_George17-Dec-07 3:41
George_George17-Dec-07 3:41 
GeneralRe: Off-topic PinPopular
toxcct17-Dec-07 3:43
toxcct17-Dec-07 3:43 
GeneralRe: Off-topic Pin
CPallini17-Dec-07 4:04
mveCPallini17-Dec-07 4:04 
GeneralRe: Hey man Pin
George_George17-Dec-07 3:36
George_George17-Dec-07 3:36 
Hi toxcct,


I use this code to show and learn how compiler works internally to deal with lvalue and rvalue, and there is something unknown to us.

Have you tried my code (disable language extension please)? If you tried, I think you will be surprised to see why f (X() = X()) can compile, but f (X()) can not compile. Smile | :)


regards,
George
GeneralRe: Hey man Pin
toxcct17-Dec-07 3:39
toxcct17-Dec-07 3:39 
GeneralRe: Hey man Pin
Nelek17-Dec-07 3:28
protectorNelek17-Dec-07 3:28 
GeneralRe: Hey man Pin
George_George17-Dec-07 3:38
George_George17-Dec-07 3:38 
RantRe: Hey man [modified] Pin
toxcct17-Dec-07 3:41
toxcct17-Dec-07 3:41 
JokeRe: Hey man [modified] Pin
Nelek17-Dec-07 3:46
protectorNelek17-Dec-07 3:46 
GeneralRe: Hey man Pin
Nelek17-Dec-07 4:25
protectorNelek17-Dec-07 4:25 
GeneralRe: Get lvalue through rvalue [modified] Pin
George L. Jackson17-Dec-07 4:47
George L. Jackson17-Dec-07 4:47 
GeneralRe: Get lvalue through rvalue Pin
George_George18-Dec-07 0:26
George_George18-Dec-07 0:26 
GeneralRe: Get lvalue through rvalue Pin
George L. Jackson18-Dec-07 15:52
George L. Jackson18-Dec-07 15:52 
GeneralRe: Get lvalue through rvalue Pin
George_George18-Dec-07 18:50
George_George18-Dec-07 18:50 
GeneralFile/Folder Pin
john563217-Dec-07 1:53
john563217-Dec-07 1:53 
GeneralRe: File/Folder Pin
Matthew Faithfull17-Dec-07 1:59
Matthew Faithfull17-Dec-07 1:59 
GeneralRe: File/Folder Pin
john563217-Dec-07 2:10
john563217-Dec-07 2:10 
GeneralRe: File/Folder Pin
Matthew Faithfull17-Dec-07 2:23
Matthew Faithfull17-Dec-07 2:23 
GeneralRe: File/Folder Pin
Naveen17-Dec-07 2:11
Naveen17-Dec-07 2:11 
QuestionCListCtrl allways show only the first items??? Pin
bosfan17-Dec-07 1:48
bosfan17-Dec-07 1:48 
AnswerRe: CListCtrl allways show only the first items??? Pin
hameduser17-Dec-07 2:39
hameduser17-Dec-07 2:39 

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.