質問

I could find two proposals to include ranges in C++: N1871 is fairly old (2005), and N3513

However I could not find anything about ranges in the current C++14 draft (N3690). Does this mean that it will not be part of C++14? If that is the case, why is it so cumbersome to introduce ranges?

役に立ちましたか?

解決

Does this mean that it will not be part of C++14?

Yes, indeed it will not be part of C++14. Unfortunately, nobody cared enough to work on a proposal.

If that is the case, why is it so cumbersome to introduce ranges?

Hard to tell. Sometimes the reason is that different people have different expectations on what should be standardized and how (see modules or concepts), and sometimes it is just because the feature is more complex to formalize than urgent.

Also, what most often happens is that Boost libraries are taken as an experimental, proto-standard implementation; and while there was enough experience and common consensus on libraries such as Boost.Thread, Boost.Function, and Boost.Bind - so they got standardized quite smoothly - not everybody is satisfied with Boost.Range, mostly because of its lack of an extensive, high-level support for functional programming.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top