$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Darin Adler (darin_at_[hidden])
Date: 2002-02-04 15:14:20
On 2/4/02 12:12 PM, "Darin Adler" <darin_at_[hidden]> wrote:
> Peter's cut at a Boost assert header is in <boost/assert.hpp> in cvs.
> 
> My cut at a Boost assert is this:
> 
>   #ifdef BOOST_ASSERT_CUSTOMIZATION_HEADER
>   #include BOOST_ASSERT_CUSTOMIZATION_HEADER
>   #endif
> 
>   #ifndef BOOST_ASSERT
>   #include <assert.h>
>   #define BOOST_ASSERT assert(x)
>   #endif
I meant to say:
    #ifdef BOOST_ASSERT_CUSTOMIZATION_HEADER
    #include BOOST_ASSERT_CUSTOMIZATION_HEADER
    #endif
    #ifndef BOOST_ASSERT
    #include <assert.h>
    #define BOOST_ASSERT(expr) assert(expr)
    #endif
Hope that's clearer.
    -- Darin