<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Dune team / Dune users,<br>
<div class="moz-forward-container"> my question might be unrelated
to Dune itself, but i thought i ask here first. In my code i use
the new template<br>
alias syntax introduces with c++11 and up to now everything worked
well. Now i stumbled above an issue with the following snipplet of
code:<br>
<br>
template<unsigned Channels><br>
class Foo<br>
{<br>
<font face="Andale Mono">template<typename T><br>
using ChannelDataContainer = Dune::FieldVector<T,Channels /*
+1 */>;</font> // if I add the plus one, everything works<br>
}<br>
<br>
for instantiations where Channels>1 everything works fine.
however for Channels==1 gcc 4.7.2 quits with: "internal compiler
error: in retrieve_specialization, at cp/pt.c:1014".<br>
Obviously this is an issue with gcc failing to retrieve
specialization for FieldVector, I'm just wondering if any of you
have experienced the same problems and found a pretty work around.<br>
<br>
Greetings,<br>
Martin Rückl<br>
<br>
<br>
</div>
<br>
</body>
</html>