[Boost-bugs] [Boost C++ Libraries] #12124: [TypeTraits] is_const should use std::size_t instead of size_t.

Subject: [Boost-bugs] [Boost C++ Libraries] #12124: [TypeTraits] is_const should use std::size_t instead of size_t.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-04-13 08:21:51


#12124: [TypeTraits] is_const should use std::size_t instead of size_t.
------------------------------+-------------------------
 Reporter: anonymous | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
------------------------------+-------------------------
 Hello,

 The ARMCC compiler raises the error

 boost/type_traits/is_const.hpp(38): error: #20: identifier "size_t" is
 undefined

 It works, if I change size_t to std::size_t. I have no clue, how the
 typedef is exactly imported. IMHO, it would be cleaner to also
 include <cstddef> from is_const.hpp.

 Best regards,
 Manuel

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