Boost logo

Boost Users :

Subject: Re: [Boost-users] Multi Index with BOOST_AUTO question.
From: Surya Kiran Gullapalli (suryakiran.gullapalli_at_[hidden])
Date: 2009-10-13 13:33:30


On Tue, Oct 13, 2009 at 10:59 PM, Igor R <boost.lists_at_[hidden]> 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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net