<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <blockquote
      cite="mid:1E5B0CA8-D70D-499F-8D35-3EB3174F46CA@ipvs.uni-stuttgart.de"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">There are different variants of std::is_pod that may be better suited.
How about std::is_trivially_default_constructible() ?
</pre>
      </blockquote>
      <pre wrap="">
I don't like it either, but the problem is - once more - C++03. All those nice
type traits like std::is_pod et. al. are only available in C++11, so we can not
use them on our current set of supported compilers (and they would be
a pain in the ass (or even impossible) to emulate with a backwards compatibility
layer in Dune).</pre>
    </blockquote>
    I know.  My compiler actually implements it as a built-in.  Still we
    could have<br>
    let the c++0x design guide our's, like having a general
    HasTrivialConstructor<br>
    class in typetraits.hh that individual classes can specialize.<br>
    <br>
    <blockquote
      cite="mid:1E5B0CA8-D70D-499F-8D35-3EB3174F46CA@ipvs.uni-stuttgart.de"
      type="cite">
      <pre wrap="">

My bet would also be to just leave out the optimization and hope that the compiler
will do the Right Thing </pre>
    </blockquote>
    I agree.  The template has been removed now.<br>
    <br>
    <blockquote
      cite="mid:1E5B0CA8-D70D-499F-8D35-3EB3174F46CA@ipvs.uni-stuttgart.de"
      type="cite">
      <pre wrap="">(and even if it fails, I doubt that zeroing some memory is the
big performance pitfall during BCRSMatrix setup…) ;-)</pre>
    </blockquote>
    It is not even zeroing anything.  AFAICT the default constructor of
    FieldMatrix<br>
    is just empty.<br>
    <br>
    best,<br>
    Oliver<br>
    <br>
    <blockquote
      cite="mid:1E5B0CA8-D70D-499F-8D35-3EB3174F46CA@ipvs.uni-stuttgart.de"
      type="cite">
      <pre wrap="">

Best,

Steffen

</pre>
      <blockquote type="cite">
        <pre wrap="">
best,
Oliver

</pre>
        <blockquote type="cite">
          <pre wrap="">
Cheers,

Markus

_______________________________________________
Dune-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune-devel">http://lists.dune-project.org/mailman/listinfo/dune-devel</a>
</pre>
        </blockquote>
        <pre wrap="">

_______________________________________________
Dune-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune-devel">http://lists.dune-project.org/mailman/listinfo/dune-devel</a>
</pre>
      </blockquote>
      <pre wrap="">
Steffen Müthing
Universität Stuttgart
Institut für Parallele und Verteilte Systeme
Universitätsstr. 38
70569 Stuttgart
Tel: +49 711 685 88429
Fax: +49 711 685 88340
Email: <a class="moz-txt-link-abbreviated" href="mailto:steffen.muething@ipvs.uni-stuttgart.de">steffen.muething@ipvs.uni-stuttgart.de</a>

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Dune-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune-devel">http://lists.dune-project.org/mailman/listinfo/dune-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>