Opened 6 years ago

#12557 new Bugs

new_iterator_tests.hpp has a missing #include

Reported by: gromer@… Owned by: jeffrey.hellrung
Milestone: To Be Determined Component: iterator
Version: Boost 1.60.0 Severity: Problem
Keywords: Cc:

Description

iterator/new_iterator_tests.hpp uses the mpl::and_ metafunction, but does not #include the boost/mpl/and.hpp header that defines it. Among other things, this prevents Boost.Iterator from being built using C++ modules (see http://clang.llvm.org/docs/Modules.html), because modules require headers to be self-contained.

A fix is attached (relative to 1.60.0).

Attachments (1)

boost-iterator.patch (580 bytes ) - added by gromer@… 6 years ago.

Download all attachments as: .zip

Change History (1)

by gromer@…, 6 years ago

Attachment: boost-iterator.patch added
Note: See TracTickets for help on using tickets.