On Tue, Oct 13, 2009 at 10:59 PM, Igor R <boost.lists@gmail.com> wrote:
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.

I got that. I've looked at Boost.Typeof documentation. But why was it working with VS2005 ?

Thanks,
Surya