Subject: Re: [boost] [function] function.hpp lacks include guard
From: Beman Dawes (bdawes_at_[hidden])
Date: 2008-10-21 20:59:50
On Tue, Oct 21, 2008 at 6:09 PM, Doug Gregor <doug.gregor_at_[hidden]> wrote:
> On Tue, Oct 21, 2008 at 9:41 AM, Peter Bartlett <pete_at_[hidden]>
> > I haven't tested it, but looking at the code I think you can include
> > boost/function.hpp multiple times and if BOOST_FUNCTION_MAX_ARGS is
> > (re-)defined between any of those inclusions then everything still works
> > you'd hope.
> Yep, that's why it doesn't have include guards.
Didn't this already come up? Maybe put a comment in the source file to try
to avoid having to answer the same question again?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk