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

Support return error code #16

Open
lgarithm opened this issue Feb 10, 2019 · 0 comments
Open

Support return error code #16

lgarithm opened this issue Feb 10, 2019 · 0 comments

Comments

@lgarithm
Copy link
Collaborator

lgarithm commented Feb 10, 2019

The operator() member functions are specified as two overloads, with and without an argument of type error_code&:

R f(A1 a1, A2 a2, ..., AN aN, error_code& ec);
R f(A1 a1, A2 a2, ..., AN aN);

The first one should not throw except, the second one should call the first by passing args through.

@lgarithm lgarithm changed the title Support return error code in shape infer functions Support return error code Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant