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>&비교할 두 번째 Uri 객체

ReturnValue

URI가 같으면 true, 그렇지 않으면 false

또 보기

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

두 스마트 포인터를 동등 비교합니다.

template<class X,class Y> bool System::operator==(const SmartPtr<X> &x, const SmartPtr<Y> &y)
매개변수설명
X첫 번째 포인터의 pointee 타입.
Y두 번째 포인터의 pointee 타입.
매개변수형식설명
xconst SmartPtr<X>&비교할 첫 번째 포인터.
yconst SmartPtr<Y>&비교할 두 번째 포인터.

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_tObject 확인용.

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.

또 보기