Re: [Boost-users] How to inherit from boost::multi_array
Hi Ron,
I finally got it work by using static_cast. But I ran into another
problem as you pointed out early that you have to define dimension
before you use assignment and copy constructor. That makes the whole
thing quit complicated. Any suggestion? Thanks.
Yan
_____
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Ronald Garcia
Sent: Tuesday, June 14, 2005 2:28 PM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] How to inherit from boost::multi_array
Use static_cast, rather than const_cast.
Cheers,
ron
On Jun 13, 2005, at 11:14 AM, Yan Zhang wrote:
Hi Ron,
How do you "cast "other" to the multi_array type" here? I used
Array (const Array& other) : boost::multi_array
participants (1)
-
Yan Zhang