Re: [eigen] Enabled move support for Matrix and Array |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Enabled move support for Matrix and Array
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Wed, 11 May 2011 19:07:15 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=r0oKSwstRBMZ9cw+SyAPC7vG9Belht5T1BvwVNaarFI=; b=hNOHy0stc9BGPaslYgmdr3nF8ClqNeqiyxBrrbBSq9CDKozpcwG8XQNIoXuDFgvhRR oVW+6XbPiYavcTGDZeWHaSBVfc6PYEOTwrU627G9N4eYitu+JswMfcvcAHUwJsrriPNK YHG0CDqD4voBZWkoNnnPZ+VDqKBJim4jd2gUo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JhWtdzlJUPe0SMRq8YPiWl0LtdpH0fgcB24KV6jfnF+/jlWWP78l3TAyw+Uzw1c2nM Un8YfnrQ/Njn46m/zImgtv75C5ZWJw+rF1ZJ+SmDFJryI9D15bU46apvFcCMboVPs4PI N3nieWItFlN+fE11zj0psLpw4GWbG5drJw1/s=
Ok. I found it. There is a specialization in GlobalFunctions.h but it
is not used, when C++0x is enabled. So this whole thing has nothing to
do with my patch.
The problem is that at least on my cygwin system image is implemented as
template<typename _Tp>
inline typename __gnu_cxx::__promote<_Tp>::__type
imag(_Tp)
{ return _Tp(); }
and I don't see how we could be able to overload this function. I
think it is not possible but I maybe wrong.
- Hauke