Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template trim_left_copy

boost::algorithm::trim_left_copy — Left trim - parametric.

Synopsis

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


template<typename SequenceT> 
   ( Input, 
                            Loc = );

Description

Remove all leading spaces from the input. The result is a trimmed copy of the input.

[Note] Note

This function provides the strong exception-safety guarantee

Parameters:

Input

An input sequence

Loc

a locale used for 'space' classification

Returns:

A trimmed copy of the input


PrevUpHomeNext