Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2001-10-26 11:10:47


on 10/26/01 7:55 AM, David Abrahams at david.abrahams_at_[hidden] wrote:

> 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.

While I agree that your discipline would have prevented this, the cause of
the problem is that when someone renamed the file from array.hpp to
array_traits.hpp they didn't change the contents of the file. So the comment
at the top still said array.hpp, and so did these define statements.

    -- Darin


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