-
-
Save rightfold/bc03271f58896bb0773f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class null_stream { | |
public: | |
char const* write(char const*, char const* end) { | |
return end; | |
} | |
char* read(char* begin, char*) { | |
return begin; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment