dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #26438
Re: C++11 use?
On 5 March 2013 22:47, Martin Alnæs <martinal@xxxxxxxxx> wrote:
> Those would be nice, and std::shared_ptr I guess?
Depends on the SWIG support for std::shared_ptr. Maybe its trivial.
> I guess the main bottleneck is compiler versions on clusters?
>
Yes, on old clusters. GCC 4.4 added quite some C++11 support, and
Intel and IBM compilers have good support for it.
After the new release I might slip some benign C++11 code into DOLFIN
and see if it causes any problems.
Garth
> We would need to list which features to allow, the main problem
> is maybe that it will be hard to enforce such limitations over time.
>
> Martin
>
> Den 5. mars 2013 kl. 22:21 skrev Anders Logg <logg@xxxxxxxxx>:
>
>> On Tue, Mar 05, 2013 at 06:45:32PM +0000, Garth N. Wells wrote:
>>> What are the thoughts on starting to use some C++11 features? A few
>>> things, like range-based loops, initializer lists and 'auto' would be
>>> pretty handy.
>>
>> What are the limitations for different compilers compared to what we
>> require now?
>>
>> --
>> Anders
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dolfin
>> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dolfin
>> More help : https://help.launchpad.net/ListHelp
Follow ups
References