Sean Eskapp: > Why doesn't this code work?
This works, the Bar instance you give to foo is const.
void foo(const Bar a) {}
Bye,
bearophile
Sean Eskapp: > Why doesn't this code work?
This works, the Bar instance you give to foo is const.
void foo(const Bar a) {}
Bye,
bearophile