modify
This commit is contained in:
parent
f7dd496cdd
commit
7c1f208253
@ -2168,6 +2168,10 @@ public:
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Allow assignment from ValueType.
|
||||||
|
// Refer to Effective C++ 3rd Edition/Item 33: Avoid hiding inherited names.
|
||||||
|
using ValueType::operator=;
|
||||||
|
|
||||||
//! Exchange the contents of this document with those of another.
|
//! Exchange the contents of this document with those of another.
|
||||||
/*!
|
/*!
|
||||||
\param rhs Another document.
|
\param rhs Another document.
|
||||||
@ -2183,6 +2187,10 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow Swap from ValueType.
|
||||||
|
// Refer to Effective C++ 3rd Edition/Item 33: Avoid hiding inherited names.
|
||||||
|
using ValueType::Swap;
|
||||||
|
|
||||||
//! free-standing swap function helper
|
//! free-standing swap function helper
|
||||||
/*!
|
/*!
|
||||||
Helper function to enable support for common swap implementation pattern based on \c std::swap:
|
Helper function to enable support for common swap implementation pattern based on \c std::swap:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user