Opened 7 years ago

Closed 7 years ago

#11283 closed Bugs (fixed)

Variant: Missing include in element_index.hpp

Reported by: Roger Leigh <rleigh@…> Owned by: Antony Polukhin
Milestone: Boost 1.59.0 Component: variant
Version: Boost 1.58.0 Severity: Regression
Keywords: Cc:

Description

Building with Boost 1.58 failed due to what looks like a simple case of a missing include.

libs/variant/include/boost/variant/detail/element_index.hpp uses boost::remove_cv from type_traits, but does not include boost/type_traits/remove_cv.hpp, leading to build failure.

Patch attached.

Regards, Roger Leigh

Attachments (1)

0001-Add-missing-type_traits-include-to-element_index.hpp.patch (805 bytes ) - added by Roger Leigh <rleigh@…> 7 years ago.
Add missing include

Download all attachments as: .zip

Change History (4)

by Roger Leigh <rleigh@…>, 7 years ago

Add missing include

comment:1 by Roger Leigh <rleigh@…>, 7 years ago

Note, /boost/variant/polymorphic_get.hpp is also missing this include and this category of problem might extend to other headers as well.

comment:2 by Antony Polukhin, 7 years ago

Milestone: To Be DeterminedBoost 1.59.0
Owner: changed from ebf to Antony Polukhin
Status: newassigned

Thanks for the report and sorry for the delay! This issue has been fixed.

comment:3 by Antony Polukhin, 7 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.