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 X-Received: by 10.224.63.148 with SMTP id b20mr16187615qai.1.1392846748226; Wed, 19 Feb 2014 13:52:28 -0800 (PST) Path: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!k15no24380941qaq.0!news-out.google.com!s3ni26269qas.0!nntp.google.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Text_IO, was: Re: Something I don't understand Date: Wed, 19 Feb 2014 16:52:22 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4a3e55f6-9f54-4084-9f37-96efd4b0d349@googlegroups.com> <0b358700-871b-4603-addd-65e07c7d59e5@googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls7.std.com 1392846747 870 192.74.137.71 (19 Feb 2014 21:52:27 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 19 Feb 2014 21:52:27 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:R28Lgd/88LGNldqR26UT8WHJJ34= X-Received-Bytes: 1584 X-Received-Body-CRC: 3629907563 Content-Type: text/plain; charset=us-ascii X-Original-Bytes: 1962 Xref: number.nntp.dca.giganews.com comp.lang.ada:185007 Date: 2014-02-19T16:52:22-05:00 List-Id: Simon Clubley writes: > And voila, C printf templates in a fully Ada type safe manner. Note that C printf templates are type safe (statically!) if you use gcc, and if you always use statically-known templates (which in my experience is true approximately 100% of the time). - Bob