excel-d icon indicating copy to clipboard operation
excel-d copied to clipboard

Support template functions

Open atilaneves opened this issue 8 years ago • 3 comments

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

atilaneves avatar Apr 20 '17 22:04 atilaneves

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

UplinkCoder avatar May 26 '17 19:05 UplinkCoder

@UplinkCoder Don't I always anyway? ;)

atilaneves avatar May 26 '17 20:05 atilaneves

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

UplinkCoder avatar May 26 '17 20:05 UplinkCoder