I have a reference to MyOjbect, but the the exact object depends on a condition. So I want to do something like this:
MyOjbect
MyObject& ref; if([co
In C++, you can't declare a reference without initialization. You must initialize it.