[Boost-bugs] [Boost C++ Libraries] #13105: Add missing top level include guards

Subject: [Boost-bugs] [Boost C++ Libraries] #13105: Add missing top level include guards
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-07-03 20:56:21


#13105: Add missing top level include guards
------------------------------+----------------------
 Reporter: anonymous | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: function
  Version: Boost 1.64.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------
 This ticket is addressed by this pull request:
 https://github.com/boostorg/function/pull/13/files

 The missing top level include guard means that even if boost/function.hpp
 is included in a pre-compiled header, we still pay the heavy boost pp pre-
 processing cost every time it is also included.

 This is very problematic with Visual Studio intellisense:
 It pre-process and parses the translation unit on the fly to provide
 syntax/semantic highlighting.

 In our projects, this fix remove a couple of seconds in this process.
 (boost/function.hpp is included in many headers that result in pre-
 processing it multiple time per compilation units)

--
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13105>
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-07-03 20:59:55 UTC