autocxx icon indicating copy to clipboard operation
autocxx copied to clipboard

Support functions with default arguments

Open scentini opened this issue 4 years ago • 0 comments

Currently it is not possible to call the following function

int addOne(int val=0) { return val + 1; }

as

add_one()

in Rust. The reason for this is that autocxx doesn't understand the default argument value.

scentini avatar Jun 07 '21 12:06 scentini