[Nfd-dev] Using (some features of) C++11

Junxiao Shi shijunxiao at email.arizona.edu
Mon Oct 13 19:50:54 PDT 2014


Dear folks

As shown in the survey <http://redmine.named-data.net/issues/1929#note-8>,
"we can use C++11".
Can we enable C++11 now?

Yours, Junxiao

On Fri, Aug 22, 2014 at 11:09 PM, Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Dear folks
>
> My opinion is: all C++11 features supported by all required platforms
> should be permitted.
> There is no reason to be conservative.
>
> It's also impractical to approve only certain features without enforcement
> from Jenkins.
> One example is that we have a limited set of approved Boost libraries
> http://redmine.named-data.net/projects/nfd/wiki/Boost but this limitation
> is never enforced.
>
> Yours, Junxiao
> On Aug 22, 2014 1:28 PM, "Davide Pesavento" <davide.pesavento at lip6.fr>
> wrote:
>
>> Hi guys,
>>
>> Can we start using some pieces of C++11 [1] in v0.3?
>>
>> Our oldest supported platform, Ubuntu 12.04, comes with gcc-4.6 that
>> supports quite a few C++11 features already [2]. If we want to keep
>> compatibility with even older Ubuntu LTS releases, 10.04 (EOL April
>> 2015) comes with gcc-4.4, which still has a few interesting pieces of
>> C++11 implemented [3], such as rvalue references, "auto" variables,
>> initializer lists, and so on.
>>
>> Unless there's opposition to the idea of using C++11 at all, we should
>> decide the minimum supported version of gcc/clang and come up with a
>> set of C++11 features that we're allowed to use starting with v0.3 of
>> ndn-cxx and NFD.
>>
>> Thanks,
>> Davide
>>
>> [1] http://en.wikipedia.org/wiki/C%2B%2B11
>> [2] https://gcc.gnu.org/gcc-4.6/cxx0x_status.html
>> [3] https://gcc.gnu.org/gcc-4.4/cxx0x_status.html
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20141013/1be9e4b0/attachment.html>


More information about the Nfd-dev mailing list