Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-10-26 09:55:09


This demonstrates why using a little bit of name mangling in #include guards
is a good idea. I use my initials and the date, which surely would have
prevented this problem if either author had done it.

===================================================
  David Abrahams, C++ library designer for hire
 resume: http://users.rcn.com/abrahams/resume.html

        C++ Booster (http://www.boost.org)
          email: david.abrahams_at_[hidden]
===================================================

----- Original Message -----
From: "Darin Adler" <darin_at_[hidden]>
To: "Boost" <boost_at_[hidden]>; <Boost-Users_at_[hidden]>
Sent: Thursday, October 25, 2001 5:19 PM
Subject: Re: [boost] RE: [Boost-Users] array -v- array_traits

> on 10/25/01 2:02 PM, Jim.Hyslop at jim.hyslop_at_[hidden] wrote:
>
> > Duane Murphy [SMTP:duanemurphy_at_[hidden]] wrote:
> >
> >> I noticed that array.hpp uses
> >>
> >> #ifndef BOOST_ARRAY_HPP
> >> #define BOOST_ARRAY_HPP
> >> ..
> >> #endif
> >>
> >> and array_traits.hpp uses:
> >>
> >> #if !defined(BOOST_ARRAY_HPP)
> >> #define BOOST_ARRAY_HPP 1
> >> ..
> >> #endif
>
> >> Is this a subtle bug or intentional?
>
> It's a bug.
>
> I'll fix it in cvs right now.
>
> The array_traits.hpp predates array.hpp, and is still marked "beta", but I
> love it, use it a lot, and wish it wasn't marked "beta". Maybe I should
take
> it through the formal review process.
>
> -- Darin
>
>
> Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk