Library adapted to use official version Boost.Range instead of the internal one.

Internal version removed


[SVN r26788]
This commit is contained in:
Pavol Droba
2005-01-21 16:49:06 +00:00
parent aea6f39c11
commit 2b5de80031
6 changed files with 28 additions and 169 deletions

View File

@ -10,9 +10,10 @@
#include <string>
#include <iostream>
#include <iterator>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/erase.hpp>
#include <boost/algorithm/string/case_conv.hpp>
//#include <boost/algorithm/string/replace.hpp>
//#include <boost/algorithm/string/erase.hpp>
//#include <boost/algorithm/string/case_conv.hpp>
#include <boost/algorithm/string.hpp>
//Following two includes contain second-layer function.
//They are already included by first-layer header

View File

@ -12,7 +12,6 @@
#include <iostream>
#include <iterator>
#include <functional>
#include <boost/algorithm/string/iterator_range.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/find_iterator.hpp>
@ -36,7 +35,7 @@ int main()
It!=string_find_iterator();
++It)
{
cout << copy_iterator_range<std::string>(*It) << endl;
cout << copy_range<std::string>(*It) << endl;
// shift all chars in the match by one
transform(
It->begin(), It->end(),