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

◆ operator=() [2/2]

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

Definition at line 92 of file fstream.h.

92 {
93 if (this != &other) {
94 close();
95 mHandle = other.mHandle;
96 mLastRead = other.mLastRead;
97 mGood = other.mGood;
98 mEof = other.mEof;
99 mFail = other.mFail;
100 other.mHandle.reset();
101 other.mLastRead = 0;
102 other.mGood = false;
103 other.mEof = false;
104 other.mFail = true;
105 }
106 return *this;
107 }
filebuf_ptr mHandle
Definition fstream.h:50
bool mEof
Definition fstream.h:53
fl::size_t mLastRead
Definition fstream.h:51
bool mFail
Definition fstream.h:54
bool mGood
Definition fstream.h:52

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

+ Here is the call graph for this function: