}
//! Move constructor
- NCollection_AliasedArray (NCollection_AliasedArray&& theOther)
+ NCollection_AliasedArray (NCollection_AliasedArray&& theOther) noexcept
: myData (theOther.myData), myStride (theOther.myStride), mySize (theOther.mySize), myDeletable (theOther.myDeletable)
{
theOther.myDeletable = false;
Poly_ArrayOfNodes& operator= (const Poly_ArrayOfNodes& theOther) { return Assign (theOther); }
//! Move constructor
- Poly_ArrayOfNodes (Poly_ArrayOfNodes&& theOther)
+ Poly_ArrayOfNodes (Poly_ArrayOfNodes&& theOther) noexcept
: NCollection_AliasedArray (std::move (theOther))
{
//
}
//! Move assignment operator; @sa Move()
- Poly_ArrayOfNodes& operator= (Poly_ArrayOfNodes&& theOther)
+ Poly_ArrayOfNodes& operator= (Poly_ArrayOfNodes&& theOther) noexcept
{
return Move (theOther);
}
Poly_ArrayOfUVNodes& operator= (const Poly_ArrayOfUVNodes& theOther) { return Assign (theOther); }
//! Move constructor
- Poly_ArrayOfUVNodes (Poly_ArrayOfUVNodes&& theOther)
+ Poly_ArrayOfUVNodes (Poly_ArrayOfUVNodes&& theOther) noexcept
: NCollection_AliasedArray (std::move (theOther))
{
//
}
//! Move assignment operator; @sa Move()
- Poly_ArrayOfUVNodes& operator= (Poly_ArrayOfUVNodes&& theOther)
+ Poly_ArrayOfUVNodes& operator= (Poly_ArrayOfUVNodes&& theOther) noexcept
{
return Move (theOther);
}
}
//! Move constructor
- handle (handle&& theHandle) : entity(theHandle.entity)
+ handle (handle&& theHandle) noexcept : entity(theHandle.entity)
{
theHandle.entity = 0;
}
}
//! Move operator
- handle& operator= (handle&& theHandle)
+ handle& operator= (handle&& theHandle) noexcept
{
std::swap (this->entity, theHandle.entity);
return *this;
Standard_EXPORT TCollection_AsciiString(const TCollection_AsciiString& astring);
//! Move constructor
- TCollection_AsciiString (TCollection_AsciiString&& theOther)
+ TCollection_AsciiString (TCollection_AsciiString&& theOther) noexcept
: mystring (theOther.mystring),
mylength (theOther.mylength)
{
Standard_EXPORT void Swap (TCollection_AsciiString& theOther);
//! Move assignment operator
- TCollection_AsciiString& operator= (TCollection_AsciiString&& theOther) { Swap (theOther); return *this; }
+ TCollection_AsciiString& operator= (TCollection_AsciiString&& theOther) noexcept { Swap (theOther); return *this; }
//! Frees memory allocated by AsciiString.
Standard_EXPORT ~TCollection_AsciiString();
Standard_EXPORT TCollection_ExtendedString(const TCollection_ExtendedString& astring);
//! Move constructor
- TCollection_ExtendedString (TCollection_ExtendedString&& theOther)
+ TCollection_ExtendedString (TCollection_ExtendedString&& theOther) noexcept
: mystring (theOther.mystring),
mylength (theOther.mylength)
{
Standard_EXPORT void Swap (TCollection_ExtendedString& theOther);
//! Move assignment operator
- TCollection_ExtendedString& operator= (TCollection_ExtendedString&& theOther) { Swap (theOther); return *this; }
+ TCollection_ExtendedString& operator= (TCollection_ExtendedString&& theOther) noexcept { Swap (theOther); return *this; }
//! Frees memory allocated by ExtendedString.
Standard_EXPORT ~TCollection_ExtendedString();
}
//! Move constructor
- TopLoc_SListOfItemLocation (TopLoc_SListOfItemLocation&& theOther)
+ TopLoc_SListOfItemLocation (TopLoc_SListOfItemLocation&& theOther) noexcept
: myNode(std::move (theOther.myNode))
{
}
//! Move operator
- TopLoc_SListOfItemLocation& operator= (TopLoc_SListOfItemLocation&& theOther)
+ TopLoc_SListOfItemLocation& operator= (TopLoc_SListOfItemLocation&& theOther) noexcept
{
myNode = std::move (theOther.myNode);
return *this;