So, what if I want to pass a value of a primitive type by-reference?
How the equivalent code for the following C++ example looks like?
void Foo( int& x )
{
x= 123;
}
void Bar()
{
int x= 0;
Foo(x);
}