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 template functions #6

Open
atilaneves opened this issue Apr 20, 2017 · 3 comments
Open

Support template functions #6

atilaneves opened this issue Apr 20, 2017 · 3 comments
Assignees

Comments

@atilaneves
Copy link
Collaborator

It should be possible to write:

double foo(T...)(T args) {
}

And have that wrapped by an Excel function that takes, say, 32 XLOPER12* and forwards accordingly, checking which ones are xlTypeMissing

@UplinkCoder
Copy link

If you are going to do this, I advise using a lot of static asserts :)

@atilaneves
Copy link
Collaborator Author

@UplinkCoder Don't I always anyway? ;)

@UplinkCoder
Copy link

Ah right .... you have your own concepts.
... Preaching to the choir I guess.

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

No branches or pull requests

3 participants