[Boost-bugs] [Boost C++ Libraries] #4287: harmonize include protection style

Subject: [Boost-bugs] [Boost C++ Libraries] #4287: harmonize include protection style
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-03 17:59:05


#4287: harmonize include protection style
----------------------------------------------------+-----------------------
 Reporter: Manfred Weis <manfredweis@…> | Owner: jewillco
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: None
  Version: Boost 1.44.0 | Severity: Cosmetic
 Keywords: |
----------------------------------------------------+-----------------------
 there are different styles of encoding filenames in use in include
 protection
 the most common style is BOOST_<capitalized filename>_HPP

 examples for deviations from that pattern are

 any.hpp:
    #ifndef BOOST_ANY_INCLUDED
 thread.hpp:
    #if !defined(BOOST_THREAD_WEK01082003_HPP)
 concept_check.hpp: uses a pluralized filename
    #ifndef BOOST_CONCEPT_CHECKS_HPP
 throw_exception.hpp:
    #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
 wave.hpp:
    #if !defined(WAVE_HPP_DCA0EA51_EF5B_4BF1_88A8_461DBC5F292B_INCLUDED)

 the motivation for harmonizing include protection is to be able to
 conclude from the filename the guarding definition; that might be useful
 for checking whether certain files have been included.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4287>
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:50:03 UTC