From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-02-18 16:30:04
At 02:57 PM 2/14/2005, Ulrich Eckhardt wrote:
>On Monday 14 February 2005 15:03, Peter Dimov wrote:
>> Sérgio Vale e Pace wrote:
>> > it should work indenticaly either way, but IMO <cassert> should be
>> > used for C++ code.
>> It's a leftover from the days of compilers that don't have <cxx>
>> of <xx.h>. Since <assert.h> is identical to <cassert>, there was no
>> in breaking those just for the style points.
>I'd say that one can get the style points for documenting this decision.
>/* we use <assert.h> instead of the more proper <cassert> because support
>the old header is far more widespread among compilers and because it
>absolutely no difference since it only contains macros. */
Unless someone objects (Peter?) I'll commit a slightly shorter version of
#include <assert.h> // .h to support old libs w/o <cassert> - effect is the
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk