c – N2965 – std :: base和std :: direct_bases的状态是什么?

前端之家收集整理的这篇文章主要介绍了c – N2965 – std :: base和std :: direct_bases的状态是什么?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在编写一个真正需要了解其参数类型的所有基类的模板. N2965提出的std :: base特征是完美的,但是我找不到任何有关其状态的可靠信息.

这个建议还活着吗?如果是这样,我们什么时候可能会看到它呢?如果没有,有没有其他的建议可以提供这种能力?

作为跟进,g具有两个N2965特征可用作std :: tr2 :: bases和std :: tr2 :: direct_bases. Clang和/或Intel有哪些扩展可以提供等效的功能

解决方法

据我所知,这是被拒绝的,我们可以从 N3296: C++ FCD Comment Status Rev 6看到这个有以下评论

Paper n2965 was largely rejected after the last CD on the grounds there was no associated national body comment,so I am submitting a national body comment this time.

而处理结果是:

REJECTED

There is no consensus to adopt this proposal at this time

我们可以找到a comment from Jonathan Wakely,它指向我们的gcc补丁电子邮件关于实现N2965到gcc,他指出没有TR2 anymore.

我没有看到有任何后续的建议

原文链接:https://www.f2er.com/c/112528.html

猜你在找的C&C++相关文章