Opened 13 years ago
Closed 13 years ago
#3050 closed Patches (duplicate)
boost::blank should observe BOOST_NO_IOSTREAM
Reported by: | Owned by: | ebf | |
---|---|---|---|
Milestone: | Boost 1.40.0 | Component: | utility |
Version: | Boost 1.38.0 | Severity: | Showstopper |
Keywords: | BOOST_NO_IOSTREAM, boost::blank, iostream | Cc: |
Description
We happen to use boost with BOOST_NO_IOSTREAM to minimise standard C++ library dependency. We use boost in combination with STLPort with _STLP_NO_IOSTREAMS=1
boost::blank has some iostreams dependencies, but these can be conditionalized:
17a18
#if !defined(BOOST_NO_IOSTREAM)
19d19 < 20a21,22
#endif BOOST_NO_IOSTREAM
87a90,91
#if !defined(BOOST_NO_IOSTREAM)
97a102,103
#endif BOOST_NO_IOSTREAM
This path is w.r.t 1.38.0, the 1.39.0 version appears to be unchanged.
Attachments (2)
Change History (6)
by , 13 years ago
comment:1 by , 13 years ago
Owner: | changed from | to
---|
comment:2 by , 13 years ago
This patch applies ok (though it should really be a full SVN diff), and rebuilding doesn't seem to cause any problems. However, there are no test cases for "blank", so I'm not 100% sure that this patch is OK. running the tests for functional (which includes blank) does not show any problems.
comment:4 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Marking this as a duplicate of #3051 as boost::blank seems to be a part of Boost.Variant (that there's no indication of this is a bug) and it makes life easier to deal with both at once.
Modified blank.hpp