Skip to content

Instantly share code, notes, and snippets.

View wnoise's full-sized avatar

Aaron Denney wnoise

  • Applied Invention
  • Burbank, CA
View GitHub Profile
#include <iostream>
#include <string>
struct base
{
virtual ssize_t write(const char *buf, size_t buf_len);
ssize_t write(std::string &s);
};
ssize_t base::write(const char *buf, size_t buf_len)