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 289 of file istream.h.

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