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

◆ operator>>() [4/10]

istream_real & fl::istream_real::operator>> ( fl::i32 & n)

Definition at line 278 of file istream.cpp.

278 {
279 string token;
280 if (readToken(token)) {
281 if (!parse_i32(token.c_str(), n)) {
282 failed_ = true;
283 }
284 } else {
285 failed_ = true;
286 }
287 return *this;
288}
bool readToken(string &token)
Definition istream.cpp:173
bool parse_i32(const char *str, fl::i32 &result)
Definition istream.cpp:24

References istream_real(), fl::StrN< SIZE >::c_str(), failed_, and readToken().

+ Here is the call graph for this function: