Boost logo

Boost :

Subject: Re: [boost] [smart-ptr][containers] type of the operator[] index
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-12-04 19:31:59


Vicente J. Botet Escriba wrote:
> Le 05/12/11 00:48, Olaf van der Spek a écrit :
> > Is this still an issue with 1.48?
> > Can't reproduce.
>
> No body said that the error has been corrected or disappeared before.

The following simple program gives me an error with VS 2005 /clr and the SVN
trunk, so I'd expect the issue to be valid at least for this version.

#include <boost/scoped_array.hpp>

int main()
{
    boost::scoped_array< char > a;
    size_t i = 0;

    a[ i ];
}


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk