[#boost-urls-grammar-to_upper] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::to_upper :relfileprefix: ../../../ :mrdocs: Return c converted to uppercase == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/ci_string.hpp#L83[boost/url/grammar/ci_string.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr char to_upper(char c) noexcept; ---- == Description This function returns the character, converting it to uppercase if it is lowercase. The function is defined only for low‐ASCII characters. === Example [,cpp] ---- assert( to_upper( 'a' ) == 'A' ); ---- === Exception Safety Throws nothing. == Return Value The converted character == Parameters |=== | Name | Description | *c* | The character to convert |=== == See Also xref:boost/urls/grammar/to_lower.adoc[to_lower]. [.small]#Created with https://www.mrdocs.com[MrDocs]#