|
Boost Users : |
Subject: Re: [Boost-users] Multi Index with BOOST_AUTO question.
From: Igor R (boost.lists_at_[hidden])
Date: 2009-10-13 13:29:48
>
> 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.
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