I\'m having a problem with optional function parameter in C++
What I\'m trying to do is to write function with optional parameter which is passed by reference, so th
You can do this crazy way:
void foo(double &bar, double &foobar = (*(new double())))
P.S. - I know its not pleasant but its the way. Also be sure not to leave memory leaks! :))