Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-01-04 01:52:36

"Hartmut Kaiser" <hartmutkaiser_at_[hidden]> wrote in

> 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) || defined(__WAVE__) ||
> #pragma once
> #endif
> So I mandate for using a BOOST_... constant for this. The Boost.Config
> 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:


Boost list run by bdawes at, gregod at, cpdaniel at, john at