[
https://issues.apache.org/jira/browse/MESOS-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843108#comment-13843108
]
Till Toenshoff commented on MESOS-864:
--------------------------------------
Hey Benjamin, ok then lets go for C++11 first. I do share your intuition that
C++11 will be super valuable for achieving clang/libc++ builds.
MESOS-323 were some helpful patches for sure.
Are you quoting MESOS-670 to point out possible regression issues when
upgrading dependencies (https://reviews.apache.org/r/13598/)?
MESOS-750; this looks like a great transition draft and I think MESOS-706 would
be a great way to accomplish that on the autoconf and source level.
> Eliminate the use of internal stdlibc++ templates for achieving libc++
> compatiblity
> ------------------------------------------------------------------------------------
>
> Key: MESOS-864
> URL: https://issues.apache.org/jira/browse/MESOS-864
> Project: Mesos
> Issue Type: Improvement
> Components: build, libprocess
> Affects Versions: 0.14.2
> Environment: Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM
> 3.3svn), libc++ (_LIBCPP_VERSION) 1101
> Reporter: Till Toenshoff
> Priority: Minor
> Labels: build, clang, libc++, libprocess, stdlibc++
>
> When attempting to build libprocess against libc++ most pitfalls are simply
> namespace related (::tr1) but some are harder to come by.
> One example is the use of std::tr1::_Bind within deferred.hpp.
> [3rdparty/libprocess/include/process/deferred.hpp]
> For the specific example, a comment was given for reasoning the design choice:
> <pre>The result of invoking the 'defer' routines is actually an internal
> type, effectively just a wrapper around the result of invoking
> 'std::tr1::bind'. However, we want the result of bind to be castable to a
> 'Deferred' but we don't want anyone to be able to create a 'Deferred' so we
> use a level-of-indirection via this type.</pre>
> How could we solve this without deriving directly from _Bind?
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)