From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2004-01-04 05:14:07
Pavel Vozenilek wrote:
> > It's a pain to re-iterate all the conditions and compilers, which
> > support the #pragma once for every
> > #if (defined(_MSC_VER) && _MSC_VER >= 1020) ||
> > ||
> > #pragma once
> > #endif
> > So I mandate for using a BOOST_... constant for this. The
> > headers are included first anyways, and not using a #pragma once
> > inside those shouldn't hurt so much.
> About the effect of #pragma once: it was found quite useful:
Sure, so what? Seems we're on the same track here.
The question is, how to guard those #pragma once directives - with compiler
specific pp constants or with a boost pp constant? I would like to introduce
a BOOST_HAS_PRAGMA_ONCE constant here.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk