You have many choices to pass function parameters. You can pass by value or by reference. A reference can be const or non-const. You can even move or forward your parameters. Your decision should depend on if it is an in, an out, an in-out, a consume, or a forward function parameter. Curious? Read the post!
Read more
Read more...