|
CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
|
Classes | |
| class | Comparable |
| Simple implementation of IComparable<> More... | |
| struct | ImplementsInterface |
| Template predicate that checks if boxed object should implement given interface by itself. More... | |
| struct | ImplementsInterface< String, IComparable< String > > |
| String implements IComparable. More... | |
| struct | ImplementsInterface< T, IComparable< T > > |
| Template predicate that checks if boxed object should implement IComparable interface by itself. More... | |
| class | NonComparable |
| Dummy base type for boxed types what do not implement IComparable<> More... | |
Functions | |
| template<typename T > | |
| std::enable_if< detail::has_operator_equal< T >::value, bool >::type | Equals (T value1, T value2) |
| Determines the equality of the specified value using operator==(). More... | |
| template<typename T > | |
| std::enable_if< detail::has_only_method_equals< T >::value, bool >::type | Equals (T value1, T value2) |
| Determines the equality of the specified value using method System::Object::Equals(). More... | |
| template<> | |
| bool | Equals< float > (float value1, float value2) |
| Compares two single-precision floating-point values. More... | |
| template<> | |
| bool | Equals< double > (double value1, double value2) |
| Compares two double-precision floating-point values. More... | |
Variables | |
| template<typename T , typename InterfaceT > | |
| constexpr bool | ImplementsInterface_v = ImplementsInterface<T, InterfaceT>::value |
| Template helper variable. More... | |
| std::enable_if< detail::has_operator_equal< T >::value, bool >::type System::BoxedValueDetail::Equals | ( | T | value1, |
| T | value2 | ||
| ) |
Determines the equality of the specified value using operator==().
| value1 | The first comparand |
| value2 | The second comparand |
| The | type of the values being compared |
| std::enable_if< detail::has_only_method_equals< T >::value, bool >::type System::BoxedValueDetail::Equals | ( | T | value1, |
| T | value2 | ||
| ) |
Determines the equality of the specified value using method System::Object::Equals().
| value1 | The first comparand |
| value2 | The second comparand |
| The | type of the values being compared |
|
inline |
Compares two double-precision floating-point values.
| value1 | The first value to compare |
| value2 | The second value to compare |
|
inline |
Compares two single-precision floating-point values.
| value1 | The first value to compare |
| value2 | The second value to compare |
|
constexpr |
Template helper variable.