[#boost-urls-grammar-lut_chars-operator_bitnot]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/lut_chars.adoc[lut&lowbar;chars]::operator&#126;
:relfileprefix: ../../../../
:mrdocs:


Return a new character set which is the complement of another character set&period;

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/lut_chars.hpp#L371[boost&sol;url&sol;grammar&sol;lut&lowbar;chars&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:boost/urls/grammar/lut_chars.adoc[lut&lowbar;chars]
operator&#126;() const noexcept;
----

== Description


This function returns a new character        set which contains all of the characters        that are not in `&ast;this`&period;


=== Example

This statement declares a character set        containing everything but vowels&colon; 

[,cpp]
----
constexpr lut_chars not_vowels = ~lut_chars( "AEIOU" "aeiou" );
----

=== Complexity

Constant&period;


=== Exception Safety

Throws nothing&period;



== Return Value


The new character set&period;





[.small]#Created with https://www.mrdocs.com[MrDocs]#
