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=unavailable autolearn_force=no version=3.4.4 Path: buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!ottix-news.ottix.net!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: A bad counterintuitive behaviour of Ada about OO Date: Thu, 07 Aug 2014 14:14:52 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <932kntuq5rrr.8sumwibqrufn.dlg@40tude.net> <1ohy7vnbntskq$.h139ov04mlxu$.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls7.std.com 1407435283 13767 192.74.137.71 (7 Aug 2014 18:14:43 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 7 Aug 2014 18:14:43 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:WuJR+0FXj/WYGTLkzN0WRGMMivA= Xref: number.nntp.dca.giganews.com comp.lang.ada:188216 Date: 2014-08-07T14:14:52-04:00 List-Id: "Dmitry A. Kazakov" writes: > Generics do not work for containers: There are various annoying limitations, but... >...you cannot have one of class-wide > elements. ...but that's not one of them. Ada.Containers.Indefinite_Vectors supports class-wide element types, for example. - Bob