BloombergLP::bslstl::DefaultSearcher_CanOptimize

Trait indicating whether the default searcher can use an optimized path.

Synopsis

Declared in <bslstl_defaultsearcher.h>

template<
    class FORWARD_ITR_NEEDLE,
    class EQUAL,
    class FORWARD_ITR_HAYSTACK>
struct DefaultSearcher_CanOptimize;

Description

This component-private meta-function struct provides a member enumerator value that is true if all of the specified FORWARD_ITR_NEEDLE, EQUAL, and FORWARD_ITR_HAYSTACK meet the criteria for an optimization of the default searcher, and has the value false otherwise.

Enums

NameDescription
Unnamed enum Enumeration of implementation constants for the default searcher.