Re: [eigen] matrix exponential with c++0x |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] matrix exponential with c++0x*From*: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>*Date*: Thu, 3 Dec 2009 11:40:10 -0500*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=zVCDCTkIF19k4+o/dVrs8dKemFmugPJQ4M0WTGeKntc=; b=Rnr/ZIDQ+V2LqF1Ef03uMLyZYrTljoeiL1qQqhhIjte4IvMj5nKVcAuuPN0zFOzwFK c8PKrMraLGaHktIuiJzcmmTS0/KbwBdxl+Rp8N9/xH3B+G5G8e5elRkGb4vJhj2CjkAz Dusm0edH5gCWj84KOTUAoTlZRX4DHs4PX9USw=*Domainkey-signature*: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gFglTxAQNn36wFkMjntBLfYx2T5Fw5a509O07/VKuST1K+upTlWkyVT7mr3XbgSpPe 2TOQepDG7X94w/Qu/BMtW6ijgwKmyeqj2qmUFFa1uVTSIknYe5eF9nUhXeOFIf0sGfiH eWPMIwDi0afXUwWwlE5pW2koX9ghWuFEk+J2E=

2009/12/3 mmoll <Markus.Moll@xxxxxxxxxxxxxxxx>: > Hi > > Quoting Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>: > >> Well, over here removing the 'typename' in front of _Function fixes >> the >> compilation for GCC. >> >> typedef _Functor Functor; > > Just a side note: avoid all names like _UnderscoreUppercase and > doubleunderscore__anywhere, they are reserved for the library > implementation. With something as generic as _Functor I see a real > danger of collision there (_Functor could be an arbitrarily mean macro...). > (But I wouldn't recommend using _EigenAvoidNameClashFunctor either) I know, but we already have many of those, and it's rather convenient. The other problem is that even if we adhere to that rule, we're still not save from conflicts, for example standard library implementations tend to define many preprocessor symbols without that convention, e.g. 'minor' on GCC... So far our attitude was just to cross fingers and in case of conflict, work on a case by case basis... Benoit

**Follow-Ups**:**Re: [eigen] matrix exponential with c++0x***From:*Mark Borgerding

**References**:**Re: [eigen] matrix exponential with c++0x***From:*Hauke Heibel

**Re: [eigen] matrix exponential with c++0x***From:*Björn Piltz

**Re: [eigen] matrix exponential with c++0x***From:*Thomas Capricelli

**Re: [eigen] matrix exponential with c++0x***From:*Hauke Heibel

**Re: [eigen] matrix exponential with c++0x***From:*Hauke Heibel

**Re: [eigen] matrix exponential with c++0x***From:*Björn Piltz

**Re: [eigen] matrix exponential with c++0x***From:*Hauke Heibel

**Re: [eigen] matrix exponential with c++0x***From:*mmoll

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] matrix exponential with c++0x** - Next by Date:
**Re: [eigen] matrix exponential with c++0x** - Previous by thread:
**Re: [eigen] matrix exponential with c++0x** - Next by thread:
**Re: [eigen] matrix exponential with c++0x**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |