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,9eef6c480abeecf8 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Dynamic array allocation and STL equivalents? Date: 12 Feb 2005 13:52:17 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1108127216.221977.60830@o13g2000cwo.googlegroups.com> <13r5d1sfsg55d$.1u0p9rdnt3zcy.dlg@40tude.net> NNTP-Posting-Host: shell01-e.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1108234338 31625 69.38.147.31 (12 Feb 2005 18:52:18 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 12 Feb 2005 18:52:18 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:8292 Date: 2005-02-12T13:52:17-05:00 List-Id: "Dmitry A. Kazakov" writes: > I have an impression that C++ resolution rules are strictly bottom-up, > ... Yes. I believe that's why C++ has the kludge of putting "L" or "U" at the end of an integer literal. The resolution rules can't tell the intended type from the context. (The implicit conversion rules add some confusion on top of all that.) That kind of kludge wouldn't work for Ada, where there are more than a few integer types around the place! It's also nice that Ada allows overloaded enumeration literals and string literals. - Bob