@@ -163,12 +163,12 @@ template<typename _Tp> class Point_
163
163
Point_ ();
164
164
Point_ (_Tp _x, _Tp _y);
165
165
Point_ (const Point_& pt);
166
- Point_ (Point_&& pt) noexcept ;
166
+ Point_ (Point_&& pt) CV_NOEXCEPT ;
167
167
Point_ (const Size_<_Tp>& sz);
168
168
Point_ (const Vec<_Tp, 2 >& v);
169
169
170
170
Point_& operator = (const Point_& pt);
171
- Point_& operator = (Point_&& pt) noexcept ;
171
+ Point_& operator = (Point_&& pt) CV_NOEXCEPT ;
172
172
// ! conversion to another data type
173
173
template <typename _Tp2> operator Point_<_Tp2>() const ;
174
174
@@ -245,12 +245,12 @@ template<typename _Tp> class Point3_
245
245
Point3_ ();
246
246
Point3_ (_Tp _x, _Tp _y, _Tp _z);
247
247
Point3_ (const Point3_& pt);
248
- Point3_ (Point3_&& pt) noexcept ;
248
+ Point3_ (Point3_&& pt) CV_NOEXCEPT ;
249
249
explicit Point3_ (const Point_<_Tp>& pt);
250
250
Point3_ (const Vec<_Tp, 3 >& v);
251
251
252
252
Point3_& operator = (const Point3_& pt);
253
- Point3_& operator = (Point3_&& pt) noexcept ;
253
+ Point3_& operator = (Point3_&& pt) CV_NOEXCEPT ;
254
254
// ! conversion to another data type
255
255
template <typename _Tp2> operator Point3_<_Tp2>() const ;
256
256
// ! conversion to cv::Vec<>
@@ -321,11 +321,11 @@ template<typename _Tp> class Size_
321
321
Size_ ();
322
322
Size_ (_Tp _width, _Tp _height);
323
323
Size_ (const Size_& sz);
324
- Size_ (Size_&& sz) noexcept ;
324
+ Size_ (Size_&& sz) CV_NOEXCEPT ;
325
325
Size_ (const Point_<_Tp>& pt);
326
326
327
327
Size_& operator = (const Size_& sz);
328
- Size_& operator = (Size_&& sz) noexcept ;
328
+ Size_& operator = (Size_&& sz) CV_NOEXCEPT ;
329
329
// ! the area (width*height)
330
330
_Tp area () const ;
331
331
// ! aspect ratio (width/height)
@@ -426,12 +426,12 @@ template<typename _Tp> class Rect_
426
426
Rect_ ();
427
427
Rect_ (_Tp _x, _Tp _y, _Tp _width, _Tp _height);
428
428
Rect_ (const Rect_& r);
429
- Rect_ (Rect_&& r) noexcept ;
429
+ Rect_ (Rect_&& r) CV_NOEXCEPT ;
430
430
Rect_ (const Point_<_Tp>& org, const Size_<_Tp>& sz);
431
431
Rect_ (const Point_<_Tp>& pt1, const Point_<_Tp>& pt2);
432
432
433
433
Rect_& operator = ( const Rect_& r );
434
- Rect_& operator = ( Rect_&& r ) noexcept ;
434
+ Rect_& operator = ( Rect_&& r ) CV_NOEXCEPT ;
435
435
// ! the top-left corner
436
436
Point_<_Tp> tl () const ;
437
437
// ! the bottom-right corner
@@ -642,10 +642,10 @@ template<typename _Tp> class Scalar_ : public Vec<_Tp, 4>
642
642
Scalar_ (_Tp v0);
643
643
644
644
Scalar_ (const Scalar_& s);
645
- Scalar_ (Scalar_&& s) noexcept ;
645
+ Scalar_ (Scalar_&& s) CV_NOEXCEPT ;
646
646
647
647
Scalar_& operator =(const Scalar_& s);
648
- Scalar_& operator =(Scalar_&& s) noexcept ;
648
+ Scalar_& operator =(Scalar_&& s) CV_NOEXCEPT ;
649
649
650
650
template <typename _Tp2, int cn>
651
651
Scalar_ (const Vec<_Tp2, cn>& v);
@@ -1162,7 +1162,7 @@ Point_<_Tp>::Point_(const Point_& pt)
1162
1162
: x(pt.x), y(pt.y) {}
1163
1163
1164
1164
template <typename _Tp> inline
1165
- Point_<_Tp>::Point_(Point_&& pt) noexcept
1165
+ Point_<_Tp>::Point_(Point_&& pt) CV_NOEXCEPT
1166
1166
: x(std::move(pt.x)), y(std::move(pt.y)) {}
1167
1167
1168
1168
template <typename _Tp> inline
@@ -1181,7 +1181,7 @@ Point_<_Tp>& Point_<_Tp>::operator = (const Point_& pt)
1181
1181
}
1182
1182
1183
1183
template <typename _Tp> inline
1184
- Point_<_Tp>& Point_<_Tp>::operator = (Point_&& pt) noexcept
1184
+ Point_<_Tp>& Point_<_Tp>::operator = (Point_&& pt) CV_NOEXCEPT
1185
1185
{
1186
1186
x = std::move (pt.x ); y = std::move (pt.y );
1187
1187
return *this ;
@@ -1429,7 +1429,7 @@ Point3_<_Tp>::Point3_(const Point3_& pt)
1429
1429
: x(pt.x), y(pt.y), z(pt.z) {}
1430
1430
1431
1431
template <typename _Tp> inline
1432
- Point3_<_Tp>::Point3_(Point3_&& pt) noexcept
1432
+ Point3_<_Tp>::Point3_(Point3_&& pt) CV_NOEXCEPT
1433
1433
: x(std::move(pt.x)), y(std::move(pt.y)), z(std::move(pt.z)) {}
1434
1434
1435
1435
template <typename _Tp> inline
@@ -1460,7 +1460,7 @@ Point3_<_Tp>& Point3_<_Tp>::operator = (const Point3_& pt)
1460
1460
}
1461
1461
1462
1462
template <typename _Tp> inline
1463
- Point3_<_Tp>& Point3_<_Tp>::operator = (Point3_&& pt) noexcept
1463
+ Point3_<_Tp>& Point3_<_Tp>::operator = (Point3_&& pt) CV_NOEXCEPT
1464
1464
{
1465
1465
x = std::move (pt.x ); y = std::move (pt.y ); z = std::move (pt.z );
1466
1466
return *this ;
@@ -1683,7 +1683,7 @@ Size_<_Tp>::Size_(const Size_& sz)
1683
1683
: width(sz.width), height(sz.height) {}
1684
1684
1685
1685
template <typename _Tp> inline
1686
- Size_<_Tp>::Size_(Size_&& sz) noexcept
1686
+ Size_<_Tp>::Size_(Size_&& sz) CV_NOEXCEPT
1687
1687
: width(std::move(sz.width)), height(std::move(sz.height)) {}
1688
1688
1689
1689
template <typename _Tp> inline
@@ -1704,7 +1704,7 @@ Size_<_Tp>& Size_<_Tp>::operator = (const Size_<_Tp>& sz)
1704
1704
}
1705
1705
1706
1706
template <typename _Tp> inline
1707
- Size_<_Tp>& Size_<_Tp>::operator = (Size_<_Tp>&& sz) noexcept
1707
+ Size_<_Tp>& Size_<_Tp>::operator = (Size_<_Tp>&& sz) CV_NOEXCEPT
1708
1708
{
1709
1709
width = std::move (sz.width ); height = std::move (sz.height );
1710
1710
return *this ;
@@ -1825,7 +1825,7 @@ Rect_<_Tp>::Rect_(const Rect_<_Tp>& r)
1825
1825
: x(r.x), y(r.y), width(r.width), height(r.height) {}
1826
1826
1827
1827
template <typename _Tp> inline
1828
- Rect_<_Tp>::Rect_(Rect_<_Tp>&& r) noexcept
1828
+ Rect_<_Tp>::Rect_(Rect_<_Tp>&& r) CV_NOEXCEPT
1829
1829
: x(std::move(r.x)), y(std::move(r.y)), width(std::move(r.width)), height(std::move(r.height)) {}
1830
1830
1831
1831
template <typename _Tp> inline
@@ -1852,7 +1852,7 @@ Rect_<_Tp>& Rect_<_Tp>::operator = ( const Rect_<_Tp>& r )
1852
1852
}
1853
1853
1854
1854
template <typename _Tp> inline
1855
- Rect_<_Tp>& Rect_<_Tp>::operator = ( Rect_<_Tp>&& r ) noexcept
1855
+ Rect_<_Tp>& Rect_<_Tp>::operator = ( Rect_<_Tp>&& r ) CV_NOEXCEPT
1856
1856
{
1857
1857
x = std::move (r.x );
1858
1858
y = std::move (r.y );
@@ -2149,7 +2149,7 @@ Scalar_<_Tp>::Scalar_(const Scalar_<_Tp>& s) : Vec<_Tp, 4>(s) {
2149
2149
}
2150
2150
2151
2151
template <typename _Tp> inline
2152
- Scalar_<_Tp>::Scalar_(Scalar_<_Tp>&& s) noexcept {
2152
+ Scalar_<_Tp>::Scalar_(Scalar_<_Tp>&& s) CV_NOEXCEPT {
2153
2153
this ->val [0 ] = std::move (s.val [0 ]);
2154
2154
this ->val [1 ] = std::move (s.val [1 ]);
2155
2155
this ->val [2 ] = std::move (s.val [2 ]);
@@ -2166,7 +2166,7 @@ Scalar_<_Tp>& Scalar_<_Tp>::operator=(const Scalar_<_Tp>& s) {
2166
2166
}
2167
2167
2168
2168
template <typename _Tp> inline
2169
- Scalar_<_Tp>& Scalar_<_Tp>::operator =(Scalar_<_Tp>&& s) noexcept {
2169
+ Scalar_<_Tp>& Scalar_<_Tp>::operator =(Scalar_<_Tp>&& s) CV_NOEXCEPT {
2170
2170
this ->val [0 ] = std::move (s.val [0 ]);
2171
2171
this ->val [1 ] = std::move (s.val [1 ]);
2172
2172
this ->val [2 ] = std::move (s.val [2 ]);
0 commit comments