Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Fri, 03 Feb 2017 13:52:34 -0600 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: Preprocessor Overheads References: Date: Fri, 03 Feb 2017 19:52:34 +0000 Message-ID: <87wpd78325.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:6DYFZ8NkdQHPsW73hqEAXa/FImQ= MIME-Version: 1.0 Content-Type: text/plain Lines: 11 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-JlxO2zeeKKwd+pgcOxeDCiahlp6C/Wko/yC/HL6sdmKWAhlOlr5kTwHDOWUSd0luMrUFx6Sf0CxT2b2!HWdfVPeA+FplN0j3Nyh38qW2GPDJg7wNDAOZCW5/RM3Rlu/hyhx5hMJLrAuGD9uPnSLCIKw= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1691 Xref: csiph.com comp.lang.c:103068 Ian Collins writes: > Yep. C++ streams don't have any issues with format specifiers. As > for the dozens more problems, you'll have to identify them. I'll identify one, albeit a fairly minor one ... I find it a hell of a lot simpler to control the exact format printed with printf() than with std::setw() std::setfill() etc, and the fact that some of those carry state around is awful. Boost.format is a lot saner.