You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Michael Park (JIRA)" <ji...@apache.org> on 2017/03/24 00:00:44 UTC

[jira] [Comment Edited] (MESOS-7297) Add deprecation warning for Visual Studio 14 2015

    [ https://issues.apache.org/jira/browse/MESOS-7297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15939457#comment-15939457 ] 

Michael Park edited comment on MESOS-7297 at 3/23/17 11:59 PM:
---------------------------------------------------------------

[~andschwa] asked me to list some things we're looking to use from C++14. Note that these are not comprehensive.

(1) C++14 lambda captures
{code}
[foo=foo, bar=std::move(bar)](/* ... */) { /* ... */ }
{code}

(2) Generic lambdas
{code}
[](const auto&) { /* ... */ }
{code}

(3) SFINAE {{std::function}}
We can remove some of the explicit calls to the implicit conversion operator with this.

(4) SFINAE {{std::result_of}}
We can kill {{result_of}} in {{stout}} once we get this.

(5) Variable templates
(6) Relaxed constexpr functions
(7) {{make_unique}}


was (Author: mcypark):
[~andschwa] asked me to list some things we're looking to use from C++14. Note that these are not comprehensive.

(1) C++14 lambda captures
{code}
[foo=foo, bar=std::move(bar)](/* ... */) { /* ... */ }
{code}

(2) Generic lambdas
[](const auto&) { /* ... */ }

(3) SFINAE {{std::function}}
We can remove some of the explicit calls to the implicit conversion operator with this.

(4) SFINAE {{std::result_of}}
We can kill {{result_of}} in {{stout}} once we get this.

(5) Variable templates
(6) Relaxed constexpr functions
(7) {{make_unique}}

> Add deprecation warning for Visual Studio 14 2015
> -------------------------------------------------
>
>                 Key: MESOS-7297
>                 URL: https://issues.apache.org/jira/browse/MESOS-7297
>             Project: Mesos
>          Issue Type: Improvement
>          Components: build, cmake
>            Reporter: Andrew Schwartzmeyer
>            Assignee: Andrew Schwartzmeyer
>            Priority: Minor
>              Labels: microsoft, windows
>
> March 7th marked the release of Visual Studio 15 2017. We are moving to deprecate the prior version (Visual Studio 14 2015) because it does not support C++14, blocking Mesos from moving beyond C++11.
> We need to add a warning when users build with VS2015 that it will be deprecated in an upcoming version of Mesos. The actual date of deprecation is not yet decided.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)