It worked. What is the difference ?. Which is correct ? BOOST_AUTO(a, A) ; // is A a; BOOST_AUTO(&a, A) ; // is A &a; Since you can't copy the index, you should define a reference.
It worked. What is the difference ?. Which is correct ?