Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1532: #pragma once
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-25 08:23:52
#1532: #pragma once
-------------------------------+--------------------------------------------
Reporter: NN | Owner:
Type: Feature Requests | Status: new
Milestone: Boost 1.35.0 | Component: None
Version: Boost 1.34.1 | Severity: Optimization
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by NN):
Defining the macro is a good solution for this program, because if #pragma
once will be declared as unsupported in GCC 5.x it may do nothing.
Anyway #pragma once does decrease the compilation time, so there is no
reason not to define the macro and use it.
Because it can be simply disabled in a simple and a standard way.
Thanx.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1532#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC