Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: qualified name and unqualified name Pin
Maxwell Chen6-Mar-08 19:14
Maxwell Chen6-Mar-08 19:14 
GeneralRe: qualified name and unqualified name Pin
George_George6-Mar-08 21:21
George_George6-Mar-08 21:21 
GeneralRe: qualified name and unqualified name Pin
George_George6-Mar-08 19:15
George_George6-Mar-08 19:15 
Hi Maxwell,


In the GCC manual, it is mentioned the following sample is wrong,

template <typename T> struct Base {
   int i;
 };

 template <typename T> struct Derived : public Base<T> {
   int get_i() { return i; }
 };


But it can compile without any issues in Visual Studio 2008, without any warnings and even if I select disable language extensions to yes.

Any comments?


regards,
George
GeneralRe: qualified name and unqualified name Pin
Maxwell Chen6-Mar-08 20:18
Maxwell Chen6-Mar-08 20:18 
GeneralRe: qualified name and unqualified name Pin
George_George6-Mar-08 21:32
George_George6-Mar-08 21:32 
Questionwhat is cl_login? Pin
Nikesh Jagtap6-Mar-08 18:01
Nikesh Jagtap6-Mar-08 18:01 
AnswerRe: what is cl_login? Pin
Mark Salsbery6-Mar-08 18:16
Mark Salsbery6-Mar-08 18:16 
AnswerRe: what is cl_login? [modified] Pin
toxcct6-Mar-08 22:27
toxcct6-Mar-08 22:27 
GeneralA zillion LNK4204 warnings... Pin
dontknowitall6-Mar-08 17:33
dontknowitall6-Mar-08 17:33 
QuestionRe: A zillion LNK4204 warnings... Pin
Rajkumar R6-Mar-08 17:45
Rajkumar R6-Mar-08 17:45 
GeneralRe: A zillion LNK4204 warnings... Pin
dontknowitall6-Mar-08 17:59
dontknowitall6-Mar-08 17:59 
GeneralAdding an exe into resource in MFC Pin
Vikas K.6-Mar-08 17:13
Vikas K.6-Mar-08 17:13 
General[Message Deleted] Pin
sheshidar6-Mar-08 17:41
sheshidar6-Mar-08 17:41 
GeneralRe: Adding an exe into resource in MFC Pin
toxcct6-Mar-08 22:30
toxcct6-Mar-08 22:30 
GeneralRe: Adding an exe into resource in MFC Pin
Hamid_RT9-Mar-08 1:03
Hamid_RT9-Mar-08 1:03 
GeneralRe: Adding an exe into resource in MFC Pin
Ernest Laurentin6-Mar-08 17:42
Ernest Laurentin6-Mar-08 17:42 
GeneralRe: Adding an exe into resource in MFC Pin
Hamid_RT9-Mar-08 1:04
Hamid_RT9-Mar-08 1:04 
GeneralSetRedraw(TRUE) causes a hide window to show Pin
followait6-Mar-08 17:05
followait6-Mar-08 17:05 
GeneralRe: SetRedraw(TRUE) causes a hide window to show Pin
Mark Salsbery6-Mar-08 17:54
Mark Salsbery6-Mar-08 17:54 
QuestionWhen to use Dialog for app and when to use normal Window ? Pin
Defenestration6-Mar-08 13:46
Defenestration6-Mar-08 13:46 

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.