29 #include <boost/algorithm/string.hpp>
30 #include <boost/format.hpp>
35 using std::stringstream;
36 using std::istringstream;
37 using std::ostringstream;
39 #ifndef BOOST_NO_STD_WSTRING
42 using std::wstringstream;
43 using std::wistringstream;
44 using std::wostringstream;
47 namespace bal = boost::algorithm;
49 using boost::bad_lexical_cast;
57 template <
typename SequenceT>
63 typename SequenceT::const_iterator itr = strings.begin();
64 std::string result = *itr;
65 for (++itr; itr != strings.end(); ++itr)
67 const std::string& target = *itr;
72 for (
size_t j=0; j < target.length() && j < result.length(); ++j)
73 if (target[j] != result[j])
87 #endif // _STRING_HPP_