Subject: [Boost-bugs] [Boost C++ Libraries] #3812: global namespace polution
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-02 11:09:19
#3812: global namespace polution
-------------------------------------+--------------------------------------
Reporter: johnmaddock | Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: thread
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
As noted in this thread:
http://lists.boost.org/Archives/boost/2010/01/160448.php all global
symbols whether macros or extern "C" functions should start with a
"boost_" prefix - both to avoid polluting the global namespace as far as
is possible, and to make boost-related symbols readily identifiable and
searchable.
Boost.Thread has a number of extern "C" symbols:
at_thread_exit
on_process_exit
on_process_enter
on_thread_enter
on_thread_exit
Which should presumably be renamed to have boost-specific names, maybe
"boost_thread_at_thread_exit" etc?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3812> 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:02 UTC