[#boost-urls-grammar-lut_chars-operator_bitnot] = xref:boost/urls/grammar/lut_chars/operator_bitnot.adoc[boost::urls::grammar::lut_chars::operator~] :relfileprefix: ../../../../ :mrdocs: Return a new character set which is the complement of another character set. == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/lut_chars.hpp#L372[boost/url/grammar/lut_chars.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/grammar/lut_chars.adoc[lut_chars] operator~() const noexcept; ---- == Description This function returns a new character set which contains all of the characters that are not in `*this`. == Example This statement declares a character set containing everything but vowels: [,cpp] ---- constexpr lut_chars not_vowels = ~lut_chars( "AEIOU" "aeiou" ); ---- == Complexity Constant. == Exception Safety Throws nothing. == Return Value The new character set. [.small]#Created with https://www.mrdocs.com[MrDocs]#