#include <iostream>
using namespace std;
//void func(int v1, int v2)
void func(const int& v1, const int& v2)
{
cout << v1 << ' ' << &v1 << endl;
cout << v2 << ' ' << &v2 << endl;
}
int main()
{
int i = 0;
func(++i, i++);
// func(++i, i);
return 0;
}
VS2013中 func(++i, i++):