From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,c999596f866f316a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-10 07:25:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!teaser.fr!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: with and use Date: Wed, 10 Jul 2002 16:24:46 +0200 Organization: Adalog Message-ID: References: <3D2C2FF9.4020300@yahoo.com> <3D2C3A69.8070207@yahoo.com> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1026311024 27947 195.25.228.57 (10 Jul 2002 14:23:44 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 10 Jul 2002 14:23:44 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:26987 Date: 2002-07-10T16:24:46+02:00 List-Id: "David Rasmussen" a �crit dans le message news: > So with corresponds roughly to an #include of some header file that > defines prototypes etc. for some other compilation unit in C++, and use > corresponds roughly to "using namespace Whatever", assuming that the > things included were in a seperate namespace? Roughly :-) > "with" and only appear at the top of a unit. Where can "use" appear? > At any place a declaration can appear, and like any declaration, its effects extends from where it is declared to the corresponding "end". In addition, it can also appear in a context clause. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr