#include "absl/functional/overload.h"
#include <cstdint>
#include <string>
#include <type_traits>
#include "absl/base/config.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "absl/types/variant.h"
#if defined(ABSL_INTERNAL_CPLUSPLUS_LANG) && \
ABSL_INTERNAL_CPLUSPLUS_LANG >= 201703L
#include "gtest/gtest.h"
namespace {
TEST(OverloadTest, DispatchConsidersTypeWithAutoFallback) { … }
TEST(OverloadTest, DispatchConsidersNumberOfArguments) { … }
TEST(OverloadTest, SupportsConstantEvaluation) { … }
TEST(OverloadTest, PropogatesDefaults) { … }
TEST(OverloadTest, AmbiguousWithDefaultsNotInvocable) { … }
TEST(OverloadTest, AmbiguousDuplicatesNotInvocable) { … }
TEST(OverloadTest, AmbiguousConversionNotInvocable) { … }
TEST(OverloadTest, AmbiguousConversionWithAutoNotInvocable) { … }
#if ABSL_INTERNAL_CPLUSPLUS_LANG >= 202002L
TEST(OverloadTest, AmbiguousConversionWithAutoAndTemplateNotInvocable) { … }
TEST(OverloadTest, DispatchConsidersTypeWithTemplateFallback) { … }
#endif
TEST(OverloadTest, DispatchConsidersSfinae) { … }
TEST(OverloadTest, VariantVisitDispatchesCorrectly) { … }
TEST(OverloadTest, VariantVisitWithAutoFallbackDispatchesCorrectly) { … }
TEST(OverloadTest, UseWithParentheses) { … }
TEST(OverloadTest, HasConstexprConstructor) { … }
}
#endif