to_upper

Return c converted to uppercase

Synopsis

char to_upper( char c) noexcept;

Declared in file <boost/url/grammar/ci_string.hpp> at line 83

Description

This function returns the character, converting it to uppercase if it is lowercase. The function is defined only for low-ASCII characters.

Example

assert( to_upper( 'a' ) == 'A' );

Exception Safety

Throws nothing.