Click here to Skip to main content
15,921,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Standalone EXE Pin
ddspliting9-Mar-08 10:12
ddspliting9-Mar-08 10:12 
GeneralRe: Standalone EXE Pin
CPallini9-Mar-08 11:18
mveCPallini9-Mar-08 11:18 
GeneralRe: Standalone EXE Pin
followait9-Mar-08 15:49
followait9-Mar-08 15:49 
GeneralRe: Standalone EXE Pin
ddspliting14-Mar-08 4:12
ddspliting14-Mar-08 4:12 
GeneralUnexpected linker fault Pin
Anthony Appleyard9-Mar-08 3:14
Anthony Appleyard9-Mar-08 3:14 
AnswerRe: Unexpected linker fault Pin
Rajkumar R9-Mar-08 3:38
Rajkumar R9-Mar-08 3:38 
GeneralRe: Unexpected linker fault Pin
CPallini9-Mar-08 3:41
mveCPallini9-Mar-08 3:41 
Generalunqualified name in template Pin
George_George9-Mar-08 3:07
George_George9-Mar-08 3:07 
Hello everyone,


About Bjarne's statement in section C.13.8.3 Point of Instantiation Binding, I have made some further thinking and coding. Here are my two questions.

--------------------
Nor can an unqualified name used in a template ever be bound to a local name.
--------------------

1. Sometimes we use qualified name in template? I have never usage of qualified names in template. Does Bjarne means some code like this, Does such use rare?

(suppose Foo is a template class)

Foo<::myType> or Foo<Somenamespace::myType> or Foo<SomeClass::myType>

2,

Does Bjarne indicate qualified names used in a template coule be bound to a local name? For example, we define a local namespace, put a struct in the local namespace, then we could use localNameSpace::strctInLocalNameSpace to instantise the template?

Puesdu code like this.

void f()
{
// inside local function f
namespace localns {
    struct foo;
};
vector<localns::foo> vc;
}



thanks in advance,
George
GeneralDetailed .map file Pin
ForNow9-Mar-08 2:54
ForNow9-Mar-08 2:54 
GeneralRecord the number of command clicks on the main GUI Pin
Golden Lee9-Mar-08 1:47
Golden Lee9-Mar-08 1:47 
GeneralRe: Record the number of command clicks on the main GUI Pin
Rajkumar R9-Mar-08 3:08
Rajkumar R9-Mar-08 3:08 
QuestionDLL Plugins Pin
Ivan-bg9-Mar-08 1:18
Ivan-bg9-Mar-08 1:18 
GeneralRe: DLL Plugins Pin
CPallini9-Mar-08 3:48
mveCPallini9-Mar-08 3:48 
GeneralRe: DLL Plugins Pin
Ivan-bg9-Mar-08 4:50
Ivan-bg9-Mar-08 4:50 
GeneralRe: DLL Plugins Pin
CPallini9-Mar-08 5:46
mveCPallini9-Mar-08 5:46 
GeneralRe: DLL Plugins Pin
Chris Losinger9-Mar-08 15:46
professionalChris Losinger9-Mar-08 15:46 
GeneralOpen Excel file,Error Pin
TaoteSea8-Mar-08 23:21
TaoteSea8-Mar-08 23:21 
QuestionRe: Open Excel file,Error Pin
CPallini8-Mar-08 23:34
mveCPallini8-Mar-08 23:34 
GeneralRe: Open Excel file,Error Pin
Hamid_RT9-Mar-08 0:46
Hamid_RT9-Mar-08 0:46 
Questionwhat are the differences among try...catch,__try...__except and try...finally? [modified] Pin
kcynic8-Mar-08 19:17
kcynic8-Mar-08 19:17 
AnswerRe: what are the differences among try...catch,__try...__except and try...finally? Pin
Rajkumar R8-Mar-08 21:43
Rajkumar R8-Mar-08 21:43 
GeneralRe: what are the differences among try...catch,__try...__except and try...finally? Pin
kcynic8-Mar-08 22:01
kcynic8-Mar-08 22:01 
GeneralRe: what are the differences among try...catch,__try...__except and try...finally? Pin
Mircea Puiu8-Mar-08 22:15
Mircea Puiu8-Mar-08 22:15 
GeneralRe: what are the differences among try...catch,__try...__except and try...finally? Pin
kcynic8-Mar-08 22:28
kcynic8-Mar-08 22:28 
GeneralRe: what are the differences among try...catch,__try...__except and try...finally? Pin
Rajkumar R9-Mar-08 3:47
Rajkumar R9-Mar-08 3:47 

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.