FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator=() [2/2]

fstream & fl::fstream::operator= ( fstream && other)
inline

Definition at line 346 of file fstream.h.

346 {
347 if (this != &other) {
348 close();
349 mHandle = other.mHandle;
350 mLastRead = other.mLastRead;
351 mGood = other.mGood;
352 mEof = other.mEof;
353 mFail = other.mFail;
354 mLocalError = other.mLocalError;
355 other.mHandle.reset();
356 other.mLastRead = 0;
357 other.mGood = false;
358 other.mEof = false;
359 other.mFail = true;
360 other.mLocalError = 0;
361 }
362 return *this;
363 }
bool mGood
Definition fstream.h:303
bool mEof
Definition fstream.h:304
filebuf_ptr mHandle
Definition fstream.h:301
bool mFail
Definition fstream.h:305
fl::size_t mLastRead
Definition fstream.h:302
int mLocalError
Definition fstream.h:306

References fstream(), close(), FL_NOEXCEPT, mEof, mFail, mGood, mHandle, mLastRead, and mLocalError.

+ Here is the call graph for this function: