[Boost-bugs] [Boost C++ Libraries] #11615: Boost.Move should use the qualified name for std::size_t in type_traits.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #11615: Boost.Move should use the qualified name for std::size_t in type_traits.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-03 14:44:54


#11615: Boost.Move should use the qualified name for std::size_t in type_traits.hpp
-------------------------------------------------+-------------------------
 Reporter: Manuel Freiberger | Type: Bugs
  <manuel.freiberger@…> | Milestone: To Be
   Status: new | Determined
Component: None | Version: Boost
 Severity: Problem | 1.59.0
                                                 | Keywords:
-------------------------------------------------+-------------------------
 The file boost/move/detail/typetraits.hpp uses size_t without
 namespace std:: twice. Once in line 473 (remove_all_extents) and
 once in line 1006 (aligned_union).

 As our STL does not include size_t in the global namespace when
 <cstddef> is included, the Boost.Move does not compile straight
 away.

 Please change these templates to
     template <class T, std::size_t N>
     struct remove_all_extents<T[N]> ...
 and
     template<class T, std::size_t Len>
     union aligned_union ...


 Best regards,
 Manuel

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