delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/28/11:01:50

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Namespaces
Date: Fri, 28 Aug 1998 11:28:59 -0300
Organization: NBTel Internet
Lines: 20
Message-ID: <35E6BEAB.564DDB62@unb.ca>
References: <35eac763 DOT 48400759 AT news DOT Austria DOT EU DOT net> <1998082802341501 DOT WAA07269 AT ladder01 DOT news DOT aol DOT com>
NNTP-Posting-Host: fctnts06c09.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Myknees wrote:
> >What is that? I heard that term now several times and I don't have a =
> >clue. :)
> It's a new feature in C++ that lets you put all the names in a library in their
> own little package, so that by using the libary you don't have to have all of
> those names conflicting with names in other libraries.
> 
> e.g. The standard library functions would be in namespace std.  It looks like
> this:
> mylibspace::print();
> 
> ...where mylibspace is a namespace.
	Isn't that just a 'class'?
-- 
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca


- Raw text -


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