System::operator== メソッド

System::operator==(ArraySegment<T>, ArraySegment<T>) method

template<typename T> bool System::operator==(ArraySegment<T> a, ArraySegment<T> b)

参照

System::operator==(Chars&, const String&) method

String comparison.

template<class Chars,typename std::enable_if< IsStringLiteral< Chars, char_t >::value >::type *> bool System::operator==(Chars &left, const String &right)
パラメーター説明
CharsString リテラル型。
パラメーター説明
leftChars&String 比較用リテラル。
rightconst String&String を比較

ReturnValue

文字列が一致すれば true、そうでなければ false。

参照

System::operator==(const SharedPtr<Object>&, const String&) method

Object and string comparison.

bool System::operator==(const SharedPtr<Object> &left, const String &right)
パラメーター説明
leftconst SharedPtr<Object>&Object を文字列に変換して比較。
rightconst String&String を比較

ReturnValue

オブジェクトの文字列表現が文字列と等しければ true、そうでなければ false。

参照

System::operator==(const SharedPtr<Uri>&, const SharedPtr<Uri>&) method

現在のオブジェクトと指定されたオブジェクトが表す URI が等しいかどうかを判定します。

bool System::operator==(const SharedPtr<Uri> &uri1, const SharedPtr<Uri> &uri2)
パラメーター説明
uri1const SharedPtr<Uri>&比較する最初の Uri オブジェクト
uri2const SharedPtr<Uri>&比較する2番目の Uri オブジェクト

ReturnValue

URI が等しければ true、そうでなければ false

参照

System::operator==(const SmartPtr<X>&, const SmartPtr<Y>&) method

2 つのスマートポインタを等価比較します。

template<class X,class Y> bool System::operator==(const SmartPtr<X> &x, const SmartPtr<Y> &y)
パラメーター説明
X最初のポインタの指す型。
Y2 番目のポインタの指す型。
パラメーター説明
xconst SmartPtr<X>&比較する最初のポインタ。
yconst SmartPtr<Y>&比較する2番目のポインタ。

ReturnValue

ポインタが一致すれば true、そうでなければ false。

参照

System::operator==(const SmartPtr<X>&, const Y *) method

スマートポインタと単純(C)ポインタとの等価比較。

template<class X,class Y> std::enable_if<std::is_base_of<Object, Y>::value &&detail::has_no_operator_equal<X, Y>::value, bool>::type System::operator==(const SmartPtr<X> &x, const Y *y)
パラメーター説明
Xスマートポインタの型。
Y単純ポインタの型。
パラメーター説明
xconst SmartPtr<X>&比較するスマートポインタ(左)。
yconst Y *比較対象のポインタ(右)。

ReturnValue

ポインタが一致すれば true、そうでなければ false。

参照

System::operator==(const T1&, const Nullable<T2>&) method

指定された値が、指定された Nullable オブジェクトが表す値と等しいかどうかを、operator==() を適用して判定します。

template<typename T1,typename T2> std::enable_if<!IsNullable<T1>::value, bool>::type System::operator==(const T1 &some, const Nullable<T2> &other)
パラメーター説明
T1最初の比較対象値の型
T2第二の比較対象値を表す Nullable オブジェクトの基になる型
パラメーター説明
いくつかconst T1&最初の比較対象として使用される値への定数参照
otherconst Nullable<T2>&第二の比較対象として使用される表現された値を持つ Nullable オブジェクトへの定数参照

ReturnValue

比較対象が等しければ true、そうでなければ false

参照

System::operator==(const X *, const SmartPtr<Y>&) method

スマートポインタと単純(C)ポインタとの等価比較。

template<class X,class Y> std::enable_if<std::is_base_of<Object, X>::value &&detail::has_no_operator_equal<X, Y>::value, bool>::type System::operator==(const X *x, const SmartPtr<Y> &y)
パラメーター説明
X単純ポインタの型。
Yスマートポインタの型。
パラメーター説明
xconst X *比較対象のポインタ(右)。
yconst SmartPtr<Y>&比較するスマートポインタ(左)。

ReturnValue

ポインタが一致すれば true、そうでなければ false。

参照

System::operator==(std::nullptr_t, const DateTimeOffset&) method

bool System::operator==(std::nullptr_t, const DateTimeOffset &)

参照

System::operator==(std::nullptr_t, const Nullable<T>&) method

指定されたNullableオブジェクトがnullと等しい値を表すかどうかを判定します。

template<typename T> bool System::operator==(std::nullptr_t, const Nullable<T> &other)
パラメーター説明
otherstd::nullptr_tテスト対象の Nullable オブジェクトへの定数参照

ReturnValue

指定されたオブジェクトがnull値を表す場合はTrue、そうでない場合はfalseです。

参照

System::operator==(std::nullptr_t, const String&) method

文字列が null かどうかをチェックします。

bool System::operator==(std::nullptr_t, const String &str)
パラメーター説明
strstd::nullptr_tチェック対象の String

ReturnValue

文字列がnullの場合はtrue、そうでない場合はfalseです。

参照

System::operator==(std::nullptr_t, DateTime) method

bool System::operator==(std::nullptr_t, DateTime)

参照

System::operator==(std::nullptr_t, SmartPtr<X> const&) method

スマートポインタがnullかどうかをチェックします。

template<class X> bool System::operator==(std::nullptr_t, SmartPtr<X> const &x)
パラメーター説明
Xポインタが指す型。
パラメーター説明
xstd::nullptr_tチェック対象のポインタ。

ReturnValue

ポインタがnullの場合はTrue、そうでない場合はfalseです。

参照

System::operator==(std::nullptr_t, T const&) method

値型オブジェクト(変換されたC#構造体など)がnullかどうかをチェックします。

template<class T> std::enable_if<!std::is_scalar<T>::value &&!std::is_pointer<T>::value &&!std::is_array<T>::value &&detail::has_method_is_null<T>::value, bool>::type System::operator==(std::nullptr_t, T const &x)
パラメーター説明
T値型です。
パラメーター説明
xstd::nullptr_tチェック対象のObject

ReturnValue

オブジェクトがnullの場合はTrue、そうでない場合はfalseです。

参照

System::operator==(std::nullptr_t, TimeSpan) method

bool System::operator==(std::nullptr_t, TimeSpan)

参照

System::operator==(T&, const String&) method

String comparison.

template<class T,typename std::enable_if< IsStringPointer< T, char_t >::value >::type *> bool System::operator==(T &left, const String &right)
パラメーター説明
TString ポインタ型。
パラメーター説明
leftT&String 比較用ポインタ。
rightconst String&String を比較

ReturnValue

文字列が一致すれば true、そうでなければ false。

参照

System::operator==(T const&, std::nullptr_t) method

値型オブジェクト(変換されたC#構造体など)がnullかどうかをチェックします。

template<class T> std::enable_if<!std::is_scalar<T>::value &&!std::is_pointer<T>::value &&!std::is_array<T>::value &&detail::has_method_is_null<T>::value, bool>::type System::operator==(T const &x, std::nullptr_t)
パラメーター説明
T値型です。
パラメーター説明
xT const&チェック対象のObject

ReturnValue

オブジェクトがnullの場合はTrue、そうでない場合はfalseです。

参照