
3 Sep
2010
3 Sep
'10
12:37 a.m.
Hello, It seems the following two headers do not play nicely with each other: #include <boost/algorithm/string.hpp> #include <boost/range/adaptors.hpp> When both are included in a source file, I get the error: boost/range/adaptor/replaced.hpp:102: error: ‘replace_range’ is already declared in this scope Removing either of the headers fixes the problem, but I cannot do that since I need functionality from both. What can I do to fix this? I am using Boost 1.43. Thanks, Nate.