Re: [eigen] Proposal for STL containers helper templates |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Proposal for STL containers helper templates
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 23 Nov 2010 14:23:43 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Nscs8G2T3sFgx8qe3j86mbrOuyI9q3CvC71+GDNHD7A=; b=qZParrDuPJmLuIWR3qxspM9ZyaUJuMcokfcHynqihCsZTnDzfg4Wcx4Dt0mZMk4eug y2EI3gfwskw5gx6RwedIgOEz2fN4SgFa/61zFuoFP/3iJMMtuhWnGmg+lQj9qWRdD47z aNgCGgzsdOFW2qYPYgiZfst9lFVxSh3ZVDch8=
- 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=V1+VXIj4GDRikst6/17I0y1HICWDMSBttuXbZ3CuLFp0Hbw8YNwMKDVBaYG2muUk3M +C0731wkChF66YVGCEo1jRaOi2Sq4CMdLXEFjnjftgUFG8f7WhEROj9umqypjK4HsYOF CHwVw6puiLK8loI+edZ1WREVHXtgyLWfRi3Ns=
2010/11/23 Jose Luis Blanco <joseluisblancoc@xxxxxxxxx>:
>> Not quite: you'd still need a typename keyword:
>>
>> typename aligned_containers<int,MatrixXd>::map_t myVar;
>
> Hmm...I *think* "typename" would be needed only within templates when
> either KEY or VALUE in <KEY,VALUE> themselves are template
> arguments...
Oh right, i overlooked the fact that your example didn't have free
template parameters, sorry.
Cheers,
Benoit