[Boost-bugs] [Boost C++ Libraries] #12177: vector::priv_merge uses unqualified uintptr_t

Subject: [Boost-bugs] [Boost C++ Libraries] #12177: vector::priv_merge uses unqualified uintptr_t
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-05-04 15:19:38


#12177: vector::priv_merge uses unqualified uintptr_t
---------------------------------+------------------------
 Reporter: manuel.freiberger@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
---------------------------------+------------------------
 Hello,

 boost/container/vector.hpp uses uintptr_t once without boost:: namespace
 in line 2250:

     uintptr_t const szt_align_mask =
 container_detail::alignment_of<size_type>::value - 1;

 The type should read boost::uintptr_t. ARMCC notices this glitch because
 it does not place uintptr_t in global namespace but in namespace std.

 Best regards,
 Manuel

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