-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
input_adapter not user extensible #1813
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Would be a great thing to have! |
Would like to keep this issue alive and see it addressed. Input data very often comes from sources which are not std::istream or in-memory strings. |
This may be fixed in #1950. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Here's how I think this should look: I suggest adding the following overload to the parse function(s):
Internally, this would check if A user-defined input would just be a matter of creating a user-defined iterator. I will also reiterate my opinion that the brace-enclosed syntax should be deprecated, as its existence is predicated on the implicit construction of a library-internal type, which should not be part of the documentation.
|
I need to implement a slight variation on one of the standard input adapters, but I have no way to implement the input_adapter_protocol and then connect it to the detail::input_adapter. This is basically equivalent to my earlier issue about making output_adapter extensible (#1534 ) as well.
The text was updated successfully, but these errors were encountered: