FastLED 3.10.6
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 287 of file istream.h.

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