Static Public Member Functions | Static Public Attributes | List of all members
absl::time_internal::cctz::HasDifference< T1, T2 > Struct Template Reference

Static Public Member Functions

template<typename U1 , typename U2 >
static std::false_type test (...)
 
template<typename U1 , typename U2 >
static std::true_type test (decltype(std::declval< U1 >()-std::declval< U2 >()))
 

Static Public Attributes

static constexpr bool value = decltype(test<T1, T2>(0))::value
 

Detailed Description

template<typename T1, typename T2>
struct absl::time_internal::cctz::HasDifference< T1, T2 >

Definition at line 536 of file internal/cctz/src/civil_time_test.cc.

Member Function Documentation

template<typename T1 , typename T2 >
template<typename U1 , typename U2 >
static std::false_type absl::time_internal::cctz::HasDifference< T1, T2 >::test (   ...)
static
template<typename T1 , typename T2 >
template<typename U1 , typename U2 >
static std::true_type absl::time_internal::cctz::HasDifference< T1, T2 >::test ( decltype(std::declval< U1 >()-std::declval< U2 >())  )
static

Member Data Documentation

template<typename T1 , typename T2 >
constexpr bool absl::time_internal::cctz::HasDifference< T1, T2 >::value = decltype(test<T1, T2>(0))::value
static

Definition at line 541 of file internal/cctz/src/civil_time_test.cc.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:20:00