Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function tail_finder

boost::algorithm::tail_finder — "Tail" finder

Synopsis

// In header: <boost/algorithm/string/finder.hpp>


unspecified tail_finder(int N);

Description

Construct the tail_finder. The finder returns a tail of a given input. The tail is a suffix of a string up to n elements in size. If an input has less then n elements, whole input is considered a head. The result is given as an iterator_range delimiting the match.

Parameters:

N

The size of the head

Returns:

An instance of the tail_finder object


PrevUpHomeNext