libboost-tokenizer/1.81.0+1

[full]

Break of a string or other character sequence into a series of tokens

Boost.Tokenizer is a part of Boost C++ Libraries. The Boost.Tokenizer package provides a flexible and easy-to-use way to break a string or other character sequence into a series of tokens.

License

Distributed under the Boost Software License, Version 1.0.

Properties

Build Status

Branch GHA CI Appveyor Coverity Scan codecov.io Deps Docs Tests
master Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix
develop Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix

Overview

break up a phrase into words.

Try it online

#include <iostream>
#include <boost/tokenizer.hpp>
#include <string>

int main(){
    std::string s = "This is,  a test";
    typedef boost::tokenizer<> Tok;
    Tok tok(s);
    for (Tok::iterator beg = tok.begin(); beg != tok.end(); ++beg){
        std::cout << *beg << "\n";
    }
}

... More
version 1.81.0+1
license BSL-1.0Boost Software License 1.0
repository https://pkg.cppget.org/1/legacy
download libboost-tokenizer-1.81.0+1.tar.gz
sha256 0791448f7ddffa6912b123647c7f148842c713f57208d9d81106bc5d106e7258
project boost
url github.com/boostorg/tokenizer
doc-url www.boost.org/doc/libs/1_81_0/libs/tokenizer
package-url github.com/build2-packaging/boost
package-email packaging@build2.orgMailing list
topics C++Boost

Depends (5)

libboost-assert == 1.81.0
libboost-config == 1.81.0
libboost-iterator == 1.81.0
libboost-throw-exception == 1.81.0
libboost-type-traits == 1.81.0

Reviews

fail 0
pass 1