[Dune] Standard library enhancements

Markus Blatt Markus.Blatt at ipvs.uni-stuttgart.de
Wed Aug 15 14:14:34 CEST 2007


Hi,

On Wed, Aug 15, 2007 at 01:45:13PM +0200, Oliver Sander wrote:
> Markus Blatt wrote:
> 
> >On Tue, Feb 13, 2007 at 01:58:16PM +0100, Oliver Sander wrote:
> >  
> >
> >
> >This means that we have to implement all feature of the classes we use
> >from tr1!
> >
> >In case of array there are quite some of them missing, e.g. C-array
> >style assignment in initialisation, tuple access functions ...
> >
> >  
> >
> I know.  However, AFAIK, nobody uses these features within
> core dune because FixedArray doesn't have them.  I propose
> to not do anything unless serious need arises.
> 

Yes some of them are used. I switched some part of dune-disc from
FixedArray to array. Unfortunately tr1::array does not have an
function operator=(const T&) but just assign(const T& t). There just
substituting FixedArray with array did not work.

By the way, I thought that the goal of your changes is to switch to
array later on. Therefore everybody should use use array. As I (and
probably many others) use a compiler with the tr1 extensions this will
lead to unnoticed bugs when accidentally using features not supported 
by Dune.

Markus




More information about the Dune mailing list