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 632-636 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 rhs < lhs;
}

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 638-642 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 rhs < lhs;
}

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 697-702 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 rhs < lhs;
}





Add Discussion as Guest

Log in