Just playing around a little with C++. What I really want to do is to be able to setup a function with default values defined for an array or pointer argument. To keep thing
A default parameter must be valid.
You can call
f("abc")
but never
f({'a','b','c'});
"abc" is effectively an address in memory and {'a','b','c'} means initialise an array or struct/class.