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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,147f221051e5a63d X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!texta.sil.at!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-ID: <2545491.n7xu0MFufK@linux1.krischik.com> From: Martin Krischik Subject: Re: memory management in Ada: tedious without GC? Newsgroups: comp.lang.ada Date: Sun, 18 May 2008 09:03:21 +0200 References: <4ddef8bf-b5b1-4d7e-b75b-386cd6c8402c@l17g2000pri.googlegroups.com> <482E8A9D.5040401@obry.net> <8640a12f-da99-435f-8eb6-372e175cd5b9@z72g2000hsb.googlegroups.com> <482F19CE.7060306@obry.net> <87d4nkzhtn.fsf@willow.rfc1149.net> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@hispeed.ch Organization: hispeed.ch NNTP-Posting-Host: 84.75.166.64 (84.75.166.64) NNTP-Posting-Date: Sun, 18 May 2008 09:45:04 +0200 X-Trace: 0f920482fde80f1ee03e521263 Xref: g2news1.google.com comp.lang.ada:190 Date: 2008-05-18T09:03:21+02:00 List-Id: Samuel Tardieu wrote: >>>>>> "Pascal" == Pascal Obry writes: > > Pascal> AFAIK > Pascal> int N; > Pascal> N = ; > Pascal> vector v(N); > Pascal> Is not C++. > > What do you mean? This is perfectly legal in C++. #include is missing for it to become "perfectly legal". This is the typical cheat of C++ advocates - selling there standart library as languages features. But that is unfair as vector<> can be implemented in any language including assember. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com