pattern_formatter support most strftime format

This commit is contained in:
gabi
2014-10-19 02:54:45 +03:00
parent 0c6a0d52d7
commit 32a8b51d05
13 changed files with 268 additions and 53 deletions

View File

@@ -143,6 +143,11 @@ public:
_dev.sputn(s.data(), s.size());
}
void write_data(const char* p, std::size_t size)
{
_dev.sputn(p, size);
}
void write_str(const std::string& s)
{
_dev.sputn(s.data(), s.size());