[#BloombergLP-bslmt-ChronoUtil-isMatchingClock-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ChronoUtil.adoc[ChronoUtil]::isMatchingClock
:relfileprefix: ../../../
:mrdocs:

Return `true` if the specified (template parameter) type `CLOCK` matches the specified `clockType`, and `false` otherwise&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;chronoutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class CLOCK&gt;
static
bool
isMatchingClock(xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType);
----

== Specializations

[cols="1"]
|===
| Name
| xref:BloombergLP/bslmt/ChronoUtil/isMatchingClock-03.adoc[`isMatchingClock&lt;steady&lowbar;clock&gt;`] 
| xref:BloombergLP/bslmt/ChronoUtil/isMatchingClock-0c.adoc[`isMatchingClock&lt;system&lowbar;clock&gt;`] 
|===



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