[
https://issues.apache.org/jira/browse/MESOS-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922910#comment-13922910
]
Dominic Hamon commented on MESOS-750:
-------------------------------------
If we are officially supporting 4.4 as the minimum, we should make sure the
configure script 'm4/ax_cxx_compile_stdcxx_11.m4' contains instances of every
feature we want to support.
That list, as per http://gcc.gnu.org/projects/cxx0x.html, would be:
- Rvalue references
- Variadic templates
- Initializer lists
- Static assertions
- auto
- decltype (but not call expressions)
- Right angle brackets
- SFINAE problem for expressions solved
- extern templates
- Strongly-typed enums
- New character types
- Default/deleted functions
- Inline namespaces
- Atomic ops (also in signal handlers)
- Propagating exceptions
The current template contains
- Right angle brackets
- static assertions
- decltype
- rvalue references
- auto
Creating ticket to add the rest.
> Require compilers that support c++11
> ------------------------------------
>
> Key: MESOS-750
> URL: https://issues.apache.org/jira/browse/MESOS-750
> Project: Mesos
> Issue Type: Improvement
> Reporter: Benjamin Mahler
> Labels: technical_debt
> Fix For: 0.19.0
>
>
> Requiring C++11 support will provide substantial benefits to Mesos.
> Most notably, the lack of lambda support has resulted in a proliferation of
> continuation style functions scattered throughout the code. Having lambdas
> will allow us to reduce this clutter and simplify the code.
> This will require carefully documenting how to get Mesos compiling on various
> systems to make this transition easy.
--
This message was sent by Atlassian JIRA
(v6.2#6252)