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

◆ operator>>() [10/10]

template<typename T>
fl::enable_if< fl::is_same< T, fl::size >::value||fl::is_same< T, fl::u16 >::value, istream_real & >::type fl::istream_real::operator>> ( T & n)

Definition at line 284 of file istream.h.

284 {
285 // Use existing fl::u32 parsing logic for both fl::size and fl::u16
286 // since they're both unsigned integer types that fit in fl::u32
287 fl::u32 temp;
288 (*this) >> temp;
289 n = static_cast<T>(temp);
290 return *this;
291}