[#bsl-operator_lt-01f] = xref:bsl.adoc[bsl]::operator< :relfileprefix: ../ :mrdocs: Compare a `std::optional` with a `bsl::optional` using less‐than. == Synopsis Declared in `<bslstl_optional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_LHS_TYPE, class t_RHS_TYPE> constexpr bool operator<( std::optional<t_LHS_TYPE> const& lhs, xref:bsl/optional-072.adoc[bsl::optional<t_RHS_TYPE>] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#