Public Types | Static Private Member Functions | List of all members
absl::span_internal::IsConvertibleHelper< From, To > Struct Template Reference

#include <span.h>

Public Types

using type = decltype(testval(std::declval< From >()))
 

Static Private Member Functions

static std::true_type testval (To)
 
static std::false_type testval (...)
 

Detailed Description

template<typename From, typename To>
struct absl::span_internal::IsConvertibleHelper< From, To >

Definition at line 106 of file internal/span.h.

Member Typedef Documentation

◆ type

template<typename From, typename To>
using absl::span_internal::IsConvertibleHelper< From, To >::type = decltype(testval(std::declval<From>()))

Definition at line 112 of file internal/span.h.

Member Function Documentation

◆ testval() [1/2]

template<typename From, typename To>
static std::true_type absl::span_internal::IsConvertibleHelper< From, To >::testval ( To  )
staticprivate

◆ testval() [2/2]

template<typename From, typename To>
static std::false_type absl::span_internal::IsConvertibleHelper< From, To >::testval (   ...)
staticprivate

The documentation for this struct was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23