Lines Matching refs:__rhs

166   _LIBCPP_HIDE_FROM_ABI strstreambuf(strstreambuf&& __rhs);
167 _LIBCPP_HIDE_FROM_ABI strstreambuf& operator=(strstreambuf&& __rhs);
172 void swap(strstreambuf& __rhs);
204 inline _LIBCPP_HIDE_FROM_ABI strstreambuf::strstreambuf(strstreambuf&& __rhs)
205 : streambuf(__rhs),
206 __strmode_(__rhs.__strmode_),
207 __alsize_(__rhs.__alsize_),
208 __palloc_(__rhs.__palloc_),
209 __pfree_(__rhs.__pfree_) {
210 __rhs.setg(nullptr, nullptr, nullptr);
211 __rhs.setp(nullptr, nullptr);
214 inline _LIBCPP_HIDE_FROM_ABI strstreambuf& strstreambuf::operator=(strstreambuf&& __rhs) {
221 streambuf::operator=(__rhs);
222 __strmode_ = __rhs.__strmode_;
223 __alsize_ = __rhs.__alsize_;
224 __palloc_ = __rhs.__palloc_;
225 __pfree_ = __rhs.__pfree_;
226 __rhs.setg(nullptr, nullptr, nullptr);
227 __rhs.setp(nullptr, nullptr);
241 _LIBCPP_HIDE_FROM_ABI istrstream(istrstream&& __rhs) // extension
242 : istream(std::move(static_cast<istream&>(__rhs))), __sb_(std::move(__rhs.__sb_)) {
246 _LIBCPP_HIDE_FROM_ABI istrstream& operator=(istrstream&& __rhs) {
247 __sb_ = std::move(__rhs.__sb_);
248 istream::operator=(std::move(__rhs));
255 _LIBCPP_HIDE_FROM_ABI void swap(istrstream& __rhs) {
256 istream::swap(__rhs);
257 __sb_.swap(__rhs.__sb_);
274 _LIBCPP_HIDE_FROM_ABI ostrstream(ostrstream&& __rhs) // extension
275 : ostream(std::move(static_cast<ostream&>(__rhs))), __sb_(std::move(__rhs.__sb_)) {
279 _LIBCPP_HIDE_FROM_ABI ostrstream& operator=(ostrstream&& __rhs) {
280 __sb_ = std::move(__rhs.__sb_);
281 ostream::operator=(std::move(__rhs));
288 _LIBCPP_HIDE_FROM_ABI void swap(ostrstream& __rhs) {
289 ostream::swap(__rhs);
290 __sb_.swap(__rhs.__sb_);
316 _LIBCPP_HIDE_FROM_ABI strstream(strstream&& __rhs) // extension
317 : iostream(std::move(static_cast<iostream&>(__rhs))), __sb_(std::move(__rhs.__sb_)) {
321 _LIBCPP_HIDE_FROM_ABI strstream& operator=(strstream&& __rhs) {
322 __sb_ = std::move(__rhs.__sb_);
323 iostream::operator=(std::move(__rhs));
330 _LIBCPP_HIDE_FROM_ABI void swap(strstream& __rhs) {
331 iostream::swap(__rhs);
332 __sb_.swap(__rhs.__sb_);