react-native-windows 0.0.0-canary.586 → 0.0.0-canary.587
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Mso/smartPtr/cntPtr.h
CHANGED
|
@@ -124,19 +124,19 @@ struct CntPtr {
|
|
|
124
124
|
|
|
125
125
|
template <typename T1, typename T2>
|
|
126
126
|
friend bool operator==(CntPtr<T1> const &left, CntPtr<T2> const &right) noexcept;
|
|
127
|
-
template <typename
|
|
128
|
-
friend bool operator==(CntPtr<
|
|
129
|
-
template <typename
|
|
130
|
-
friend bool operator==(std::nullptr_t, CntPtr<
|
|
127
|
+
template <typename T1>
|
|
128
|
+
friend bool operator==(CntPtr<T1> const &left, std::nullptr_t) noexcept;
|
|
129
|
+
template <typename T1>
|
|
130
|
+
friend bool operator==(std::nullptr_t, CntPtr<T1> const &right) noexcept;
|
|
131
131
|
template <typename T1, typename T2>
|
|
132
132
|
friend bool operator!=(CntPtr<T1> const &left, CntPtr<T2> const &right) noexcept;
|
|
133
|
-
template <typename
|
|
134
|
-
friend bool operator!=(CntPtr<
|
|
135
|
-
template <typename
|
|
136
|
-
friend bool operator!=(std::nullptr_t, CntPtr<
|
|
133
|
+
template <typename T1>
|
|
134
|
+
friend bool operator!=(CntPtr<T1> const &left, std::nullptr_t) noexcept;
|
|
135
|
+
template <typename T1>
|
|
136
|
+
friend bool operator!=(std::nullptr_t, CntPtr<T1> const &right) noexcept;
|
|
137
137
|
|
|
138
|
-
template <typename
|
|
139
|
-
friend void std::swap(CntPtr<
|
|
138
|
+
template <typename T1>
|
|
139
|
+
friend void std::swap(CntPtr<T1> &left, CntPtr<T1> &right) noexcept;
|
|
140
140
|
|
|
141
141
|
template <typename TOther>
|
|
142
142
|
friend struct CntPtr;
|
|
@@ -450,13 +450,13 @@ inline bool operator==(CntPtr<T1> const &left, CntPtr<T2> const &right) noexcept
|
|
|
450
450
|
return left.m_ptr == right.m_ptr;
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
template <typename
|
|
454
|
-
inline bool operator==(CntPtr<
|
|
453
|
+
template <typename T1>
|
|
454
|
+
inline bool operator==(CntPtr<T1> const &left, std::nullptr_t) noexcept {
|
|
455
455
|
return left.m_ptr == nullptr;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
template <typename
|
|
459
|
-
inline bool operator==(std::nullptr_t, CntPtr<
|
|
458
|
+
template <typename T1>
|
|
459
|
+
inline bool operator==(std::nullptr_t, CntPtr<T1> const &right) noexcept {
|
|
460
460
|
return right.m_ptr == nullptr;
|
|
461
461
|
}
|
|
462
462
|
|
|
@@ -465,13 +465,13 @@ inline bool operator!=(CntPtr<T1> const &left, CntPtr<T2> const &right) noexcept
|
|
|
465
465
|
return left.m_ptr != right.m_ptr;
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
-
template <typename
|
|
469
|
-
inline bool operator!=(CntPtr<
|
|
468
|
+
template <typename T1>
|
|
469
|
+
inline bool operator!=(CntPtr<T1> const &left, std::nullptr_t) noexcept {
|
|
470
470
|
return left.m_ptr != nullptr;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
-
template <typename
|
|
474
|
-
inline bool operator!=(std::nullptr_t, CntPtr<
|
|
473
|
+
template <typename T1>
|
|
474
|
+
inline bool operator!=(std::nullptr_t, CntPtr<T1> const &right) noexcept {
|
|
475
475
|
return right.m_ptr != nullptr;
|
|
476
476
|
}
|
|
477
477
|
|
|
@@ -479,9 +479,9 @@ inline bool operator!=(std::nullptr_t, CntPtr<T> const &right) noexcept {
|
|
|
479
479
|
|
|
480
480
|
namespace std {
|
|
481
481
|
|
|
482
|
-
template <typename
|
|
483
|
-
inline void swap(Mso::CntPtr<
|
|
484
|
-
|
|
482
|
+
template <typename T1>
|
|
483
|
+
inline void swap(Mso::CntPtr<T1> &left, Mso::CntPtr<T1> &right) noexcept {
|
|
484
|
+
T1 *temp = left.m_ptr;
|
|
485
485
|
left.m_ptr = right.m_ptr;
|
|
486
486
|
right.m_ptr = temp;
|
|
487
487
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.0.0-canary.
|
|
13
|
+
<ReactNativeWindowsVersion>0.0.0-canary.587</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>0</ReactNativeWindowsMinor>
|
|
16
16
|
<ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
|