Function operator>=

Summary

#include <include/type_safe/variant.hpp>

(1) template <class VariantPolicy, typename Head, typename... Types, typename T>
    bool operator>=(const basic_variant< VariantPolicy, Head, Types... > &lhs, const T &rhs)

(2) template <class VariantPolicy, typename Head, typename... Types, typename T>
    bool operator>=(const T &lhs, const basic_variant< VariantPolicy, Head, Types... > &rhs)

(3) template <class VariantPolicy, typename Head, typename... Types>
    bool operator>=(const basic_variant< VariantPolicy, Head, Types... > &lhs, const basic_variant< VariantPolicy, Head, Types... > &rhs)

Function overload

Synopsis

#include <include/type_safe/variant.hpp>

template <class VariantPolicy, typename Head, typename... Types, typename T>
bool operator>=(const basic_variant< VariantPolicy, Head, Types... > &lhs, const T &rhs)

Description

\group variant_comp_t

Source

Lines 645-649 in include/type_safe/variant.hpp.

template <class VariantPolicy, typename Head, typename... Types, typename T>
bool operator>=(const basic_variant<VariantPolicy, Head, Types...>& lhs, const T& rhs)
{
    return !(lhs < rhs);
}

Synopsis

#include <include/type_safe/variant.hpp>

template <class VariantPolicy, typename Head, typename... Types, typename T>
bool operator>=(const T &lhs, const basic_variant< VariantPolicy, Head, Types... > &rhs)

Description

\group variant_comp_t

Source

Lines 651-655 in include/type_safe/variant.hpp.

template <class VariantPolicy, typename Head, typename... Types, typename T>
bool operator>=(const T& lhs, const basic_variant<VariantPolicy, Head, Types...>& rhs)
{
    return !(lhs < rhs);
}

Synopsis

#include <include/type_safe/variant.hpp>

template <class VariantPolicy, typename Head, typename... Types>
bool operator>=(const basic_variant< VariantPolicy, Head, Types... > &lhs, const basic_variant< VariantPolicy, Head, Types... > &rhs)

Description

\group variant_comp

Source

Lines 705-710 in include/type_safe/variant.hpp.

template <class VariantPolicy, typename Head, typename... Types>
bool operator>=(const basic_variant<VariantPolicy, Head, Types...>& lhs,
                const basic_variant<VariantPolicy, Head, Types...>& rhs)
{
    return !(lhs < rhs);
}





Add Discussion as Guest

Log in