Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-11-28 21:54:48


"Daryle Walker" <darylew_at_[hidden]> wrote

> > These contain
> >
> > #if defined(_MSC_VER) && (_MSC_VER >= 1020)
> > # pragma once
> > #endif
> >
> > which is intentional. As a general rule, compilers that expose _MSC_VER
do
> > support "#pragma once".
>
> Considering that there is an acceptable alternative that is completely
> portable, I don't think the "#pragma once" is important enough to keep
since
> it forces the use of "_MSC_VER".
>

Use of #pragma once has significant impact on compilation times for real
applications:
http://aspn.activestate.com/ASPN/Mail/Message/boost/1798707

In addition, the new Borland compiler is still in beta and this deficiency
may get fixed.

/Pavel


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