www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/19/11:33:14

Date: Sat, 19 Jul 1997 08:32:24 -0700 (PDT)
Message-Id: <199707191532.IAA22795@adit.ap.net>
Mime-Version: 1.0
To: chirayu AT radiolink DOT net
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: "using" & "namespaces" in C++
Cc: djgpp AT delorie DOT com

>I heard that DJGPP supports the using keyword but dont know what it is. Is
>it like the WITH clause in Pascal?

I know nothing about this nor could I find it in the docs. Have you any idea
what it's supposed to do?
>Also, what r namespaces? Is there any ref/tutorial on it? 
A namespace is the conceptual space where names live. ;-) For instance, in
C, global variable names inhabit one namespace, and local variable names
live in another. This allows you to have global and local variables with the
same names and not have a conflict. You may see references to the effect
that "library X clutters the user's namespace." This means that a lot of
external symbols are defined for the library's purposes and could
theoretically conflict with the user's code (although most have names like
_____library_X_do_stuff).

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019