size_t Print::print(const Printable& x) { return x.printTo(*this); }
std::string toString(const Printable& printable) { std::stringstream ss; printable.printTo(ss); return ss.str(); }
WanStatic::WanStatic(Printable &p): m_connectionThread(NULL){ m_interface = p.get("interface"); m_ipaddress = p.get("ip"); m_amIUP = false; }
size_t ICACHE_FLASH_ATTR Print::print(const Printable& x) { return x.printTo(*this); }
void testPrintable(const Printable& p) { p.print(cout); cout << endl; }