[cpp] pass arguments as const reference
Description
Passing arguments as const reference would allow developer not caring about memory issues and would reduce the generated code.
openapi-generator version
Head
OpenAPI declaration file content or url
N/A
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
#264 #270 #273