"Thorsten Ottosen" <[EMAIL PROTECTED]> 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.


-- 
                       David Abrahams
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to