BloombergLP::bslstl::Variant_GreaterThanVisitor::operator()

Compare the visited alternative with the specified value.

Synopsis

Declared in <bslstl_variant.h>

template<
    size_t t_INDEX,
    class t_TYPE>
bool
operator()(
    bsl::in_place_index_t<t_INDEX> indexTag,
    t_TYPE const& value) const;

Return Value

true if the left alternative is greater than value

Parameters

NameDescription
indexTagtag encoding the index of the alternative being visited
valueright-hand side alternative value to compare