#5603 closed Bugs (fixed)
the "range/any_range.hpp" header is not self-sufficient
Reported by: | Owned by: | Neil Groves | |
---|---|---|---|
Milestone: | To Be Determined | Component: | range |
Version: | Boost 1.46.1 | Severity: | Problem |
Keywords: | Cc: |
Description
A file with only the following single line won't compile:
#include <boost/range/any_range.hpp>
One has to manually include also e.g. boost/range.hpp.
Attachments (1)
Change History (7)
comment:1 by , 11 years ago
by , 10 years ago
Attachment: | 5603_add_include.patch added |
---|
comment:3 by , 10 years ago
I meet the same problem. As someone reported in #7293, Boost 1.51.1 still has this problem. I attached the patch that adds include files.
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 10 years ago
Fixed. Thanks for the patch! (I added a few more includes to make some more files stand on their own.)
Note:
See TracTickets
for help on using tickets.
Boost 1.47.0 still has this problem. Swapping the following two lines in any_range.hpp fixes the bug: