C ++ 1z的范围状态? [英] Status of ranges for C++1z?
问题描述
C ++委员会中有一个关于范围的研究小组:
There is a study group on ranges in the C++ committee:
但我没有关注此研究小组的历史,我不确定C ++ 1z应该提供哪种交付方式(此外,我不使用boost.range,因此我对现有实践没有清晰的认识)。我们是否将
but I have not followed the history of this study group and I am not sure of what kind of delivery is expected for C++1z (furthermore I do not use boost.range so I do not have a clear view of existing practices). Will we have:
-
范围作为一对首个/最后一个迭代器?
ranges as a pair of first/last iterators?
联合和对范围的其他设置操作(例如 [v.begin()+ 5,v.begin()+ 7 [U [v.begin()+ 10, v.begin()+ 15 [U [v.begin()+ 21,v.begin()+ 42 [
),即:并集,交集,不相交并集,补码?
union and other set operations on ranges(for example [v.begin()+5, v.begin()+7[ U [v.begin()+10, v.begin()+15[ U [v.begin()+21, v.begin()+42[
), namely: union, intersection, disjoint union, complement?
迭代器过滤器(以便在满足条件的情况下执行for_each)?
iterator filters (in order to execute a for_each where a condition is satisfied)?
其他东西?
推荐答案
Eric Niebler开始讨论他的可迭代
的工作(四部分,博客文章:第1部分,第2部分,第3部分,),位于 SG9邮件列表 2月27日。从那以后,有很多来回的回响,尤其是考虑到这份名单已经死了大约一年了。
Eric Niebler initiated discussion of his Iterable
work (four-part blog posting: Part 1, Part 2, Part 3, Part 4) on the SG9 mailing list on Feb 27. There's been quite a bit of back and forth since then, especially considering that the list had been dead for about a year.
据我所知,作为一个局外人,SG已经在关于他们要做什么的争论;该阶段与为标准/技术规范制定措辞相距甚远。相。然而,这是从休眠状态向前迈出的实质性步伐。相。最近的几次委员会会议的会议记录都很生动:
As near as I can tell as an outsider, the SG is in the "arguing about what they're trying to do" phase which is quite far from the "developing wording for a Standard/Technical Specification" phase. This is, however, a substantial move forward from the "dormant" phase. The meeting minutes from the last few committee meetings are illuminating:
Marshall Clow [研究组主席]报告说,该组目前视力过度。没有文件。第9研究组正试图限制范围。 C ++ 14不会有什么
Marshall Clow [the study group chair] reports group is currently suffering from an excess of vision. There are no papers. SG9 is trying to constrain scope. Nothing expected to go into C++14
Clow报告在过去的几个月中没有任何活动。一份讨论的论文[我相信 N3752基于索引的范围 ]。
Clow报告没有论文,也没有会议。 [Stephan] Lavavej报告了人们可能会关心的EWG中的纸张范围[我相信是指 N3853基于范围的循环:下一代 ]。道斯问工作是否停滞了。 Clow说他的工作停滞了,他没有看到别人在做的工作。 [Jeffrey] Yasskin说,他不确定论文的去向可能会拖延SG9论文的审议。
Clow reports no papers and no meeting. [Stephan] Lavavej reports a ranged for paper in EWG that the range people may care about [I believe referring to N3853 "Range-Based For-Loops: The Next Generation"]. Dawes asks if work is stalled. Clow says his work is stalled and he has not seen work others are doing. [Jeffrey] Yasskin says that he is unsure of where the papers are going which may be stalling SG9 consideration of papers.
它并没有像狂暴分子那样进行,也没有设定可交付的目标AFAIK。
It hasn't exactly been going like gangbusters, and there is no set deliverable goal AFAIK.
这篇关于C ++ 1z的范围状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!