Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Add unget/putback methods to istream #7

Open
malachib opened this issue May 22, 2017 · 0 comments
Open

Add unget/putback methods to istream #7

malachib opened this issue May 22, 2017 · 0 comments

Comments

@malachib
Copy link
Owner

malachib commented May 22, 2017

This in turn will necessitate an actual buffered streambuf underneath, for embedded scenarios a low level circular buffer should do the trick. Make the size configurable, but default to something on the smaller side like 64 bytes

Also, make this configurable ON or OFF as a feature flag, as most people shouldn't be using this feature (peek is better if you can use it)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant