[#absl-CharSet]
= xref:absl.adoc[absl]::CharSet
:relfileprefix: ../
:mrdocs:

A fast, bit&hyphen;vector set of 8&hyphen;bit unsigned characters&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;charset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class CharSet;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/CharSet/2constructor-09.adoc[`CharSet`]         [.small]#[constructor]#
| Constructors
| xref:absl/CharSet/contains.adoc[`contains`] 
| Tests whether the set contains a given character&period;
| xref:absl/CharSet/empty.adoc[`empty`] 
| Tests whether the set is empty&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/CharSet/AsciiAlphabet.adoc[`AsciiAlphabet`] 
| The set of ASCII letters&period;
| xref:absl/CharSet/AsciiAlphanumerics.adoc[`AsciiAlphanumerics`] 
| The set of ASCII letters and digits&period;
| xref:absl/CharSet/AsciiDigits.adoc[`AsciiDigits`] 
| The set of ASCII decimal digits&period;
| xref:absl/CharSet/AsciiHexDigits.adoc[`AsciiHexDigits`] 
| The set of ASCII hexadecimal digits&period;
| xref:absl/CharSet/AsciiLowercase.adoc[`AsciiLowercase`] 
| The set of ASCII lowercase letters&period;
| xref:absl/CharSet/AsciiPrintable.adoc[`AsciiPrintable`] 
| The set of printable ASCII characters&period;
| xref:absl/CharSet/AsciiPunctuation.adoc[`AsciiPunctuation`] 
| The set of ASCII punctuation characters&period;
| xref:absl/CharSet/AsciiUppercase.adoc[`AsciiUppercase`] 
| The set of ASCII uppercase letters&period;
| xref:absl/CharSet/AsciiWhitespace.adoc[`AsciiWhitespace`] 
| The set of ASCII whitespace characters&period;
| xref:absl/CharSet/Char.adoc[`Char`] 
| Containing only a single specified char&period;
| xref:absl/CharSet/Range.adoc[`Range`] 
| Containing all the chars in the closed interval &lsqb;lo,hi&rsqb;&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:absl/operator_bitnot-018.adoc[absl::operator&#126;]`
| Computes the complement of a character set&period;
| `xref:absl/operator_bitor-0d.adoc[absl::operator&verbar;]`
| Computes the union of two character sets&period;
| `xref:absl/operator_bitand-04.adoc[absl::operator&amp;]`
| Computes the intersection of two character sets&period;
|===


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