Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2003-01-12 14:48:53


"David Abrahams" <dave_at_[hidden]> wrote in message
news:u65su8dct.fsf_at_boost-consulting.com...
> "Thorsten Ottosen" <nesotto_at_[hidden]> writes:
>
> > When I just try include <boost/multi_array.hpp> I get these errors:
> >
> > Comeau C/C++ 4.3.0.1 (Aug 21 2002 15:45:32) for MS_WINDOWS_x86
> > Copyright 1988-2002 Comeau Computing. All rights reserved.
> > MODE:strict warnings C++
> >
> > "E:\C++\libraries\boost_1_29_0\boost/multi_array/subarray.hpp", line
238:
> > error #20:
> > identifier "num_dimensions" is undefined
> > assert(other.num_dimensions() == num_dimensions());
> > ^
>
> Try this-> instead:
>
> assert(other.num_dimensions() == this->num_dimensions());
>
> > "E:\C++\libraries\boost_1_29_0\boost/multi_array/subarray.hpp", line
239:
> > error #20:
> > identifier "shape" is undefined
> > assert(std::equal(other.shape(),other.shape()+num_dimensions(),
> > ^
>
> Likewise.

yep. it needs a _big_ bunch of 'this->' to compile. Is Comeau really wrong?
Who will make the changes?
I guess I can't do it since I only have access to the sandbox

regarsd

Thorsten


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