Opened 12 years ago
Closed 11 years ago
#4364 closed Patches (fixed)
boost/mpl warning cleanup
Reported by: | Owned by: | Aleksey Gurtovoy | |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | mpl |
Version: | Boost Development Trunk | Severity: | Cosmetic |
Keywords: | warning | Cc: |
Description
Some definitions in boost/mpl/has_xxx.hpp are defined to 1 on conditions, but never defined to 0. This causes warnings when they're later checked as truth values instead of defined().
Attached patch defines them as 0 if the workaround does not match. Another approach would be to use #if defined() later, this is probably better.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
fix for boost/mpl/has_xxx.hpp