FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator<<() [27/31]

sstream & fl::sstream::operator<< ( const void * ptr)
inline

Definition at line 239 of file strstream.h.

239 {
240 mStr.append("0x");
241 mStr.append(fl::to_hex(reinterpret_cast<fl::uptr>(ptr), false)); // ok reinterpret cast
242 return *this;
243 }
string mStr
Definition strstream.h:377
fl::string to_hex(T value, bool uppercase=false, bool pad_to_width=false) FL_NO_EXCEPT
Convert an integer value to hexadecimal string representation.
Definition string.h:526

References sstream(), fl::FL_NO_EXCEPT, mStr, and fl::to_hex().

+ Here is the call graph for this function: