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 to_lower_copy

boost::algorithm::to_lower_copy — Convert to lower case.

Synopsis

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


template<typename OutputIteratorT, typename RangeT> 
  OutputIteratorT 
  to_lower_copy(OutputIteratorT Output, const RangeT & Input, 
                const std::locale & Loc = std::locale());
template<typename SequenceT> 
  SequenceT to_lower_copy(const SequenceT & Input, 
                          const std::locale & Loc = std::locale());

Description

Each element of the input sequence is converted to lower case. The result is a copy of the input converted to lower case. It is returned as a sequence or copied to the output iterator.

[Note] Note

The second variant of this function provides the strong exception-safety guarantee

Parameters:

Output

An output iterator to which the result will be copied

Input

An input range

Loc

A locale used for conversion

Returns:

An output iterator pointing just after the last inserted character or a copy of the input


PrevUpHomeNext