[Boost-bugs] [Boost C++ Libraries] #8641: [serialization] detail/shared_ptr_132.hpp fails to compile if BOOST_SP_ENABLE_DEBUG_HOOKS is defined

Subject: [Boost-bugs] [Boost C++ Libraries] #8641: [serialization] detail/shared_ptr_132.hpp fails to compile if BOOST_SP_ENABLE_DEBUG_HOOKS is defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-03 06:52:58


#8641: [serialization] detail/shared_ptr_132.hpp fails to compile if
BOOST_SP_ENABLE_DEBUG_HOOKS is defined
-----------------------------------------------------------------------------------------------------------+
 Reporter: Pekka Seppänen <pekka.seppanen@…> | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.54.0 | Component: serialization
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: serialization BOOST_SP_ENABLE_DEBUG_HOOKS cbi_call_constructor_hook cbi_call_destructor_hook |
-----------------------------------------------------------------------------------------------------------+
 `detail/shared_ptr_132.hpp` lives mainly under `boost_132` namespace. It
 has two function declarations (for `shared_ptr` debug hooks) that use
 `checked_deleter` and `checked_array_deleter`; Of course, these live under
 `boost` namespace.

 As neither are brought under `boost_132` (for obvious reasons) or have
 proper namespace prefixes anything that includes `shared_ptr_132.hpp` and
 has `BOOST_SP_ENABLE_DEBUG_HOOKS` defined fails to compile.

 A trivial fix is to add `boost` namespace prefixes, as done elsewhere in
 the file. A patch is attached that does this.

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