[Dune] [Dune-devel] Replace Dune C++11 by plain C++11

Carsten Gräser graeser at math.fu-berlin.de
Wed Mar 12 11:02:28 CET 2014


Hi,

Am 12.03.2014 10:53, schrieb Oliver Sander:
> Am 12.03.2014 10:50, schrieb Christian Engwer:
>> Hi Oli,
>>
>>>> Regarding the decisions from Aachen: They seems to contradict
>>>> each other. We require GCC 4.4 or newer, but we maintain
>>>> compatibility code that is not needed by any compiler we
>>>> support - as far as we know.
>>>>
>>>
>>> I agree with Christoph here.  If we officially require gcc 4.4
>>> there is no need to keep stuff for older compilers around.
>>
>> I think these are really two different questions.
>>
>> a) we decided not to provide fallback implementations
>> b) the question whether to drop the namespace imports or not.
>>
>> We can decide to do the second, but in my opinion (b) is not implied
>> by (a). The argument for !(b) was that it is not much effort for us
>> and it make life easier for users who experiment with unsupported
>> compilers. Thus these decision don't contradict.
> 
> We cannot drop the namespace imports without deprecating them first.
> But we can start using the std:: versions explicitly inside the
> core modules, which is what Christoph did, IIRC.
I agree with Oliver here. By deciding that we require gcc 4.4
we implicitly also decides that, e.g., dune::shared_ptr will always
be the same as std::shared_ptr. So replacing the namespace in the
core modules is totally covered by out decision.

Best,
Carsten

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140312/7a074edf/attachment.sig>


More information about the Dune mailing list