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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c1400b61b3f80c1e X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!u69g2000hse.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Are there noticable differences in Ada acceptance by country? Date: Sat, 22 Mar 2008 07:00:03 -0700 (PDT) Organization: http://groups.google.com Message-ID: <258ba576-0a62-4284-b7a6-4f8245f47c00@u69g2000hse.googlegroups.com> References: <87d4pr6413.fsf@ludovic-brenta.org> <47e0fc15$0$89167$157c6196@dreader1.cybercity.dk> <13u2t1a2s141531@corp.supernews.com> <1fac7b25-a11f-4199-97ad-45688318e424@u69g2000hse.googlegroups.com> <1kv438li1fcvq.ox99qnglkog5.dlg@40tude.net> <9adb8bbd-5058-4406-b8b9-2ccfbc141264@u72g2000hsf.googlegroups.com> <9878eb3d-2aec-4150-9b12-b652669def2c@p25g2000hsf.googlegroups.com> NNTP-Posting-Host: 62.21.82.62 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1206194403 1667 127.0.0.1 (22 Mar 2008 14:00:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 22 Mar 2008 14:00:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u69g2000hse.googlegroups.com; posting-host=62.21.82.62; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20546 Date: 2008-03-22T07:00:03-07:00 List-Id: On 21 Mar, 20:15, gp...@axonx.com wrote: > For C++ I come up with macros NEWTYPE(TypName,BaseType) and > SUBTYPE(TypeName,BaseType) that generate structure-envelopes with all > basic arithmetic overloads that somewhat mimics Ada typing > functionality. Another approach to the same problem: http://www.msobczak.com/prog/typegen/ -- Maciej Sobczak * www.msobczak.com * www.inspirel.com