[#bsl-String_ComparisonCategory-0e]
= xref:bsl.adoc[bsl]::xref:bsl/String_ComparisonCategory-07.adoc[String&lowbar;ComparisonCategory]&lt;CHAR&lowbar;TRAITS, xref:bsl/void_t.adoc[bsl::void&lowbar;t&lt;CHAR&lowbar;TRAITS::comparison&lowbar;category&gt;]&gt;
:relfileprefix: ../
:mrdocs:

Meta&hyphen;function selecting the comparison category for `basic&lowbar;string`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class CHAR&lowbar;TRAITS&gt;
struct xref:bsl/String_ComparisonCategory-07.adoc[String&lowbar;ComparisonCategory]&lt;CHAR&lowbar;TRAITS, xref:bsl/void_t.adoc[bsl::void&lowbar;t&lt;CHAR&lowbar;TRAITS::comparison&lowbar;category&gt;]&gt;;
----

== Description

Partial specialization used when `CHAR&lowbar;TRAITS` defines `comparison&lowbar;category`&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:bsl/String_ComparisonCategory-0e/type.adoc[`type`] 
| Comparison category type from `CHAR&lowbar;TRAITS&colon;&colon;comparison&lowbar;category`&period;
|===



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