Boost logo

Boost :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-11-15 14:36:43


In: *http://tinyurl.com/b9tjl

*Example code shows:

    typedef split_iterator<string::iterator> string_split_iterator;
    for(
string_find_iterator It=
        make_split_iterator(str1, first_finder("-*-", is_iequal()));
        It!=string_find_iterator
();
        ++It)
    {
        cout << copy_range<std::string>(*It) << endl;
    }

string_find_iterator should be string_split_iterator here.

--
Caleb Epstein
caleb dot epstein at gmail dot com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk