CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
System::detail::has_operator_equal_impl< T > Struct Template Reference

Implementation for has_operator_equal. More...

#include <detail.h>

Public Types

using type = typename std::is_same< bool, decltype(test< T >(0))>::type
 

Static Public Member Functions

template<class U >
static auto test (U *) -> decltype(std::declval< U >()==std::declval< U >())
 
template<typename >
static auto test (...) -> std::false_type
 

Detailed Description

template<class T>
struct System::detail::has_operator_equal_impl< T >

Implementation for has_operator_equal.

Template Parameters
TType to check for operator == existance.

Member Typedef Documentation

◆ type

template<class T >
using System::detail::has_operator_equal_impl< T >::type = typename std::is_same<bool, decltype(test<T>(0))>::type

Member Function Documentation

◆ test() [1/2]

template<class T >
template<typename >
static auto System::detail::has_operator_equal_impl< T >::test (   ...) -> std::false_type
static

◆ test() [2/2]

template<class T >
template<class U >
static auto System::detail::has_operator_equal_impl< T >::test ( U *  ) -> decltype(std::declval< U >()==std::declval< U >())
static