[#BloombergLP-bdld-DatumMapRef-find] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumMapRef.adoc[DatumMapRef]::find :relfileprefix: ../../../ :mrdocs: Return a const pointer to the datum having the specified `key`, if it exists and 0 otherwise. Note that the `find` has order of `O(n)` if the data is not sorted based on the keys. If the data is sorted, it has order of `O(log(n))`. Also note that if multiple entries with matching keys are present, which matching record is found is unspecified. == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/Datum.adoc[Datum] const* find(xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& key) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#