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 for the latest Boost documentation.
PrevUpHomeNext

Function convert_to_lower

boost::date_time::convert_to_lower — A function to replace the std::transform( , , ,tolower) construct.

Synopsis

// In header: <boost/date_time/date_parsing.hpp>


std::string convert_to_lower(std::string inp);

Description

This function simply takes a string, and changes all the characters in that string to lowercase (according to the default system locale). In the event that a compiler does not support locales, the old C style tolower() is used.


PrevUpHomeNext