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

Type Expectation Documentation #367

Open
BenjaminHolland opened this issue Mar 30, 2017 · 1 comment
Open

Type Expectation Documentation #367

BenjaminHolland opened this issue Mar 30, 2017 · 1 comment

Comments

@BenjaminHolland
Copy link

Since there's so much use of auto and variable length argument lists, It's quite difficult to understand both what types the operators expect,whether or not they expect template parameters, and which types they return.

For example buffer and window would seem on the surface to be quite similar, but one returns an observable<std::vector> and the other returns an observable<observable>. These are not documented. Further, the compiler errors generated for not getting these things right are not helpful. In the same case, I was told that "Delegate[largehash]" did not have a member "on_error".

@BenjaminHolland BenjaminHolland changed the title Return Types Type Expectation Documentation Mar 30, 2017
@gchudnov
Copy link
Contributor

Agreed, the code is not explicit :(
At the moment the best way is to look at documentation and examples.

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

2 participants