Re: [eigen] [FAQ] how to have an initialized static Matrix |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [eigen] [FAQ] how to have an initialized static Matrix
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Thu, 21 Mar 2013 16:06:31 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=6xiS0aBGYevbRCHbdctxBJu+75j2RLm2rf2XmQEG+uo=; b=ioC9+N0AmwNhCSvOvrKc7/Lv0yVCO2T9d/hb1/m9mQvOolYquuwoBsBB+tF6Skp7de QscmHYuKD/y9+eBZ4Y0Qg2CFWOp6zbkPBOyooPIGhgxIZN+rZ4M8JuhpY+8eOVzgAdB2 wvyiht71oA+4oNfbrKKyRP5P/pKs+215QDeQm9E1Km7cdT8YX6leHCCph+q35WPFSB10 VCyfPDTTE8j7Qy5QYGkHXjggx2iIf8Snr+DZfGwBNr5Fa+szCD2QSKGg1BN0EYWpH0lb y3kIJGATqW3p29LwQMxayvn6+6JnOA01pZipAlT+WVVuAQHKSibditWDnl7qcmqSU9ou Vr/w==
Hi,
just to say that I support this idea too.
gael
On Thu, Mar 21, 2013 at 11:58 AM, Hauke Heibel <hauke.heibel@xxxxxxxxx> wrote:
> On Thu, Mar 21, 2013 at 11:50 AM, Helmut Jarausch
> <jarausch@xxxxxxxxxxxxxxxxxxx> wrote:
>>
>> But, if we are at it, what about move constructors or move assignment
>> operators,
>
>
> I like this idea and some time ago I have already written a patch with move
> construction and assignment support. I could try to dig it up or write it
> again. It's quite easy. This is in particular nice because it would
> automatically enable the automatic generation of move
> construction/assignment in classes which hold dynamic matrices as member
> variables as long as the remaining criteria for the automatic generation are
> met.
>
> Regards,
> Hauke
>