$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [multi_array] Why the precondition on assignment?
From: Peter Barker (newbarker_at_[hidden])
Date: 2009-02-24 08:42:52
On Mon, Feb 23, 2009 at 11:35 AM, Peter Barker <newbarker_at_[hidden]> wrote:
> Hello,
>
> I wonder if anyone can give me the rationale behind
> boost::multi_index's assignment operator having the following
> precondition:
That meant to say boost::multi_array like the subject does!
I can't see the logic for requiring the assigned-to object to have the
same shape as the RHS object - surely the array is being discarded and
being made a copy of RHS?
Anyone?
Regards,
Pete