[Dune] [#445] Add a module for approximate comparison [patch] (Attachment added)
Martin Nolte
nolte at mathematik.uni-freiburg.de
Wed Oct 22 15:59:47 CEST 2008
You're probably right about using something like Dune::std instead of
extending std itself.
As to duplicating the code: Why do you want to do that? We already agreed that
functionality provided by the STL should only be duplicated in DUNE if it need
not be present in the STL (like, e.g. array). In case you are concerned about
an intermediate state during the adaptation of the code, I don't think this an
issue.
Cheers,
Martin
Jö Fahlke wrote:
> Am Wed, 22. Oct 2008, 15:23:38 +0200 schrieb Martin Nolte:
>> Before we change the coding style in one module just to conform to the STL, I
>> would suggest to move the problematic classes into the namespace std. Then,
>> within this namespace we enforce STL coding style and within the namespace
>> Dune we enforce Dune coding style. I think these are the clearest rules and
>> little change is needed to conform to them.
>
> I believe that extending the namespace std is a bad idea since it may lead to
> conflicts with future extensions of the standard. We could however use
> something like Dune::std (or lowercase dune, although that will probably lead
> to confusion).
>
> As a whole, this proposal could mean that we need two versions of some
> classes, one conforming to the STL and one conforming to Dune's naming scheme.
>
> Bye
> Jö.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
--
Martin Nolte <nolte at mathematik.uni-freiburg.de>
Universität Freiburg phone: +49-761-203-5642
Abteilung für angewandte Mathematik fax: +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany
More information about the Dune
mailing list