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=2.2 required=5.0 tests=BAYES_00,FROM_WORDY, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,60e2922351e0e780 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-15 18:12:05 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!feed1.news.rcn.net!rcn!feed3.news.rcn.net!not-for-mail From: "Frank J. Lhota" Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" Date: Sat, 15 Nov 2003 21:11:41 -0500 Message-ID: References: <3FB1609E.D56E315C@fakeaddress.nil> Reply-To: "Frank J. Lhota" X-Trace: UmFuZG9tSVabukZpgJQqK40yoLVUKPKL9a22LZ1UKMYiRh08fbG/gd0P26qvx6Zy X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 16 Nov 2003 02:11:39 GMT X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MSMail-Priority: Normal Xref: archiver1.google.com comp.lang.ada:2528 Date: 2003-11-16T02:11:39+00:00 List-Id: "Stephane Richard" wrote in message news:tBAtb.26703$hB5.10383@nwrdny02.gnilink.net... > In C++ even for standard cout and cin functions you need to use the std name > space or you'll have to write std::cout everytime you need to output > something to the standard output. I've done that a lot in my C++ code. In the C++ community, the "using" declaration is even more controversial than the "use" clause is in the Ada community. I have programmed for groups where using "using" is prohibited unless absolutely necessary. You can do stream program without "using", but that involves writing std::cout, std::flush, std::endl, etc., not to mention appending std to every identifier from the STL. If Russ dislikes the clutter caused by matching "with" and "use" clauses in Ada, he'd be appalled at what often goes on in the C++ community!