Opened 7 years ago
Closed 7 years ago
#12124 closed Bugs (fixed)
[TypeTraits] is_const should use std::size_t instead of size_t.
Reported by: | anonymous | Owned by: | John Maddock |
---|---|---|---|
Milestone: | To Be Determined | Component: | type_traits |
Version: | Boost 1.61.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
Change History (2)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Just noticed that the same problem applies to boost/type_traits/is_volatile.hpp(38).