py2cpp
py2cpp copied to clipboard
Compiling functions without type hints
Is py2cpp able to compile Python without type hints?
It seems that it would be possible to take a function like this:
def subtract(a,b)
return a - b
...and generate a C++ function like this, using auto
to infer the types:
auto subtract(auto a, auto b){
return a - b;
}