Ticket #10865: boostbug.cpp
| File boostbug.cpp, 299 bytes (added by , 8 years ago) |
|---|
| Line | |
|---|---|
| 1 | #include <boost/algorithm/string.hpp> |
| 2 | #include <boost/range/adaptors.hpp> |
| 3 | |
| 4 | struct X {}; |
| 5 | |
| 6 | int main() |
| 7 | { |
| 8 | using std::string; |
| 9 | using namespace boost::adaptors; |
| 10 | std::vector<X> x; |
| 11 | boost::join( x | transformed([](X const &){ return string(); }) | filtered([](string const &){return true;}), ""); |
| 12 | } |
