Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object Lifetimes documentation missing. #159

Open
roccomoretti opened this issue Feb 7, 2023 · 0 comments
Open

Object Lifetimes documentation missing. #159

roccomoretti opened this issue Feb 7, 2023 · 0 comments

Comments

@roccomoretti
Copy link

The User Guide section "3.7 Object Lifetimes" (https://github.com/boostorg/iostreams/blob/develop/doc/guide/lifetimes.html) has been labeled as [To be supplied in the next release] for approximately the past 18 years.

Some documentation on the lifetime assumptions about the sources/sinks/filters (e.g. do streams/steam_buffers do any lifetime management of the objects passed to them, or is it all up to the caller?) In particular, what happens when the devices are filesystem objects? (e.g. do the streams do any open/close/flush management?) This mailing list post indicates that it might be more complicated than one might first think -- though that post is ~18 years old, so things might be simplified with the next release 😉.

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

No branches or pull requests

1 participant