Click here to Skip to main content
15,908,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: anti-standard code can compile -- about template class Pin
George_George7-Mar-08 3:37
George_George7-Mar-08 3:37 
GeneralRe: anti-standard code can compile -- about template class Pin
Maxwell Chen7-Mar-08 3:56
Maxwell Chen7-Mar-08 3:56 
GeneralRe: anti-standard code can compile -- about template class Pin
George_George7-Mar-08 20:21
George_George7-Mar-08 20:21 
GeneralRe: anti-standard code can compile -- about template class Pin
George_George7-Mar-08 0:20
George_George7-Mar-08 0:20 
GeneralRe: anti-standard code can compile -- about template class Pin
George_George7-Mar-08 0:19
George_George7-Mar-08 0:19 
GeneralRe: anti-standard code can compile -- about template class Pin
BadKarma7-Mar-08 1:11
BadKarma7-Mar-08 1:11 
GeneralRe: anti-standard code can compile -- about template class Pin
George_George7-Mar-08 1:13
George_George7-Mar-08 1:13 
GeneralRe: anti-standard code can compile -- about template class Pin
BadKarma7-Mar-08 1:35
BadKarma7-Mar-08 1:35 
George_George wrote:
What do you mean this before?

"Even when there are global variables or function is correctly understand what the programmer wants and does a check the base class first."


By this I mean the following: If you don't use the :: before the i in your code sample, the VC compilter correctly choses the i defined in the base class.
If you don't have an i in your base class it correctly choses the globally defined i. If there is neither an i defined in the base class or on global scope it results in an error. So in all cases the VC compiler chooses the solution that the programmer wanted.

codito ergo sum

GeneralRe: anti-standard code can compile -- about template class Pin
George_George7-Mar-08 1:39
George_George7-Mar-08 1:39 
GeneralRe: anti-standard code can compile -- about template class Pin
Mike Dimmick7-Mar-08 14:30
Mike Dimmick7-Mar-08 14:30 
GeneralRe: anti-standard code can compile -- about template class Pin
George_George7-Mar-08 20:25
George_George7-Mar-08 20:25 
GeneralRe: anti-standard code can compile -- about template class Pin
Mike Dimmick8-Mar-08 1:34
Mike Dimmick8-Mar-08 1:34 
GeneralRe: anti-standard code can compile -- about template class Pin
George_George8-Mar-08 22:15
George_George8-Mar-08 22:15 
QuestionHow Can Attach Bar Visulizer? Pin
Le@rner6-Mar-08 20:26
Le@rner6-Mar-08 20:26 
QuestionHow to Get Task List in Windows Pin
somasundarambe6-Mar-08 19:12
somasundarambe6-Mar-08 19:12 
AnswerRe: How to Get Task List in Windows Pin
Rajkumar R6-Mar-08 19:36
Rajkumar R6-Mar-08 19:36 
GeneralRe: How to Get Task List in Windows Pin
nitin36-Mar-08 20:14
nitin36-Mar-08 20:14 
GeneralRe: How to Get Task List in Windows Pin
Rajkumar R6-Mar-08 21:24
Rajkumar R6-Mar-08 21:24 
GeneralRe: How to Get Task List in Windows Pin
somasundarambe6-Mar-08 21:45
somasundarambe6-Mar-08 21:45 
Generalqualified name and unqualified name Pin
George_George6-Mar-08 18:29
George_George6-Mar-08 18:29 
AnswerRe: qualified name and unqualified name Pin
Maxwell Chen6-Mar-08 18:36
Maxwell Chen6-Mar-08 18:36 
GeneralRe: qualified name and unqualified name Pin
George_George6-Mar-08 18:42
George_George6-Mar-08 18:42 
GeneralRe: qualified name and unqualified name Pin
George_George6-Mar-08 18:46
George_George6-Mar-08 18:46 
GeneralRe: qualified name and unqualified name Pin
Maxwell Chen6-Mar-08 18:56
Maxwell Chen6-Mar-08 18:56 
GeneralRe: qualified name and unqualified name Pin
George_George6-Mar-08 19:00
George_George6-Mar-08 19:00 

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.