[cfe-dev] objc++ enhancements for new c++ features

James Gregurich via cfe-dev cfe-dev at lists.llvm.org
Tue Mar 20 10:52:08 PDT 2018


It was recommended to post this message on the clang list rather than the llvm list where it originally appeared...




Is there interest in enhancing the objc++ compiler to make objc mechanisms friendly to the newer features of c++? For instance...

1) making blocks movable so that they can capture things like unique_ptr<> and still be moved off the stack 
2) making @property declarations work with move-only types like unique_ptr<>
3) enabling std::weak_ptr<> to weakly store an objc pointer under ARC.  (see radar: 31177975)
4) add a mechanism to allow template metaprogramming to make full use of selectors. (see radar: 30812297)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180320/ad6cdc57/attachment.html>


More information about the cfe-dev mailing list