[#absl-c_binary_search-0c] = xref:absl.adoc[absl]::c_binary_search :relfileprefix: ../ :mrdocs: Overload of `c_binary_search()` for performing a `comp` comparison other than the default `operator<`. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Sequence, typename T, typename LessThan> constexpr bool c_binary_search( Sequence const& sequence, T const& value, LessThan&& comp); ---- == Return Value `true` if an element equivalent to `value` under `comp` exists, otherwise `false`. == Parameters [cols="1,4"] |=== | Name| Description | *sequence* | The sorted container to search. | *value* | The value to search for. | *comp* | The comparison used to order the elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#