cfriedt / fdstream

Interruptible, arbitrary file-descriptor-backed, and std::iostream compatible streams.
MIT License
1 stars 0 forks source link

Make getters constant #1

Open saur0n opened 5 years ago

saur0n commented 5 years ago

At least the following methods can be declared constant:

cfriedt commented 5 years ago

Nice! Thanks for the suggestion

cfriedt commented 5 years ago

Make a PR if you like :-) Sorry, about the delay in responding.

cfriedt commented 5 years ago

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!!