Open saur0n opened 5 years ago
Nice! Thanks for the suggestion
Make a PR if you like :-) Sorry, about the delay in responding.
I think I should also be able to use templates and specializations better for the insertion and extraction operators. The funny thing is that I've redone this a bunch of times already for different employers since originally writing this!!
At least the following methods can be declared constant:
fdstreambuf::get_fd()
fdstreambuf::getInputBufferSize()
fdstreambuf::getOutputBufferSize()
fdstreambuf::getPutbackSize()