[#absl-CharSet] = xref:absl.adoc[absl]::CharSet :relfileprefix: ../ :mrdocs: A fast, bit‐vector set of 8‐bit unsigned characters. == Synopsis Declared in `<absl/strings/charset.h>` [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. | xref:absl/CharSet/empty.adoc[`empty`] | Tests whether the set is empty. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/CharSet/AsciiAlphabet.adoc[`AsciiAlphabet`] | The set of ASCII letters. | xref:absl/CharSet/AsciiAlphanumerics.adoc[`AsciiAlphanumerics`] | The set of ASCII letters and digits. | xref:absl/CharSet/AsciiDigits.adoc[`AsciiDigits`] | The set of ASCII decimal digits. | xref:absl/CharSet/AsciiHexDigits.adoc[`AsciiHexDigits`] | The set of ASCII hexadecimal digits. | xref:absl/CharSet/AsciiLowercase.adoc[`AsciiLowercase`] | The set of ASCII lowercase letters. | xref:absl/CharSet/AsciiPrintable.adoc[`AsciiPrintable`] | The set of printable ASCII characters. | xref:absl/CharSet/AsciiPunctuation.adoc[`AsciiPunctuation`] | The set of ASCII punctuation characters. | xref:absl/CharSet/AsciiUppercase.adoc[`AsciiUppercase`] | The set of ASCII uppercase letters. | xref:absl/CharSet/AsciiWhitespace.adoc[`AsciiWhitespace`] | The set of ASCII whitespace characters. | xref:absl/CharSet/Char.adoc[`Char`] | Containing only a single specified char. | xref:absl/CharSet/Range.adoc[`Range`] | Containing all the chars in the closed interval [lo,hi]. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:absl/operator_bitnot-018.adoc[absl::operator~]` | Computes the complement of a character set. | `xref:absl/operator_bitor-0d.adoc[absl::operator|]` | Computes the union of two character sets. | `xref:absl/operator_bitand-04.adoc[absl::operator&]` | Computes the intersection of two character sets. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#