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: 109fba,cd8ed9115942852f X-Google-NewGroupId: yes X-Google-Thread: 103376,b92b95c9b5585075 X-Google-NewGroupId: yes X-Google-Attributes: gid4f1905883f,gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "Jed" Newsgroups: comp.lang.c++,comp.lang.ada Subject: Re: Why use C++? Date: Fri, 12 Aug 2011 00:24:30 -0500 Organization: A noiseless patient Spider Message-ID: References: <1e292299-2cbe-4443-86f3-b19b8af50fff@c29g2000yqd.googlegroups.com> <1fd0cc9b-859d-428e-b68a-11e34de84225@gz10g2000vbb.googlegroups.com> <9ag33sFmuaU1@mid.individual.net> <1d8wyhvpcmpkd.ggiui9vebmtl.dlg@40tude.net> Injection-Date: Fri, 12 Aug 2011 05:24:11 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="bUZkUS1QLqpHyXuWevVWHQ"; logging-data="7994"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WYhbKj6vV/OeebPD/wzkl" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-RFC2646: Format=Flowed; Response X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 Cancel-Lock: sha1:GuAICPW3nlH9CRCda1nvBYr8NOs= X-Priority: 3 X-MSMail-Priority: Normal Xref: g2news2.google.com comp.lang.c++:92597 comp.lang.ada:21524 Date: 2011-08-12T00:24:30-05:00 List-Id: "Randy Brukardt" wrote in message news:j22c61$5lo$1@munin.nbi.dk... > Modular types are something altogether different (and in all honesty, > rare enough that direct language support is of dubious value -- most of > us supported adding them to Ada 95 simply because it was the only way > to get any support for the largest unsigned integer type). > Isn't the wrapping behavior just a consequence of wanting to get a representation in which signed and unsigned integers can be easily converted to each other? I.e., "they" didn't sit down and say, "let's implement unsigned integers with wrapping behavior".