N2965 - std :: bases和std :: direct_bases的状态是什么? [英] What is the status of N2965 - std::bases and std::direct_bases?

查看:563
本文介绍了N2965 - std :: bases和std :: direct_bases的状态是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个真正需要知道的参数类型的所有基类的模板。由 std :: bases n2965.html> N2965 是完美的,但我找不到任何有关其状态的可靠信息。

I'm writing a template which really needs to know about all the base classes of its parameter type. The std::bases trait proposed by N2965 is perfect for this, however I can't find any reliable information about its status.

这个建议还活着吗?如果是,我们什么时候可能看到它,标准化?

Is this proposal still alive? If so, when might we be likely to see it, standardized? If not, are there any other proposals around that would provide this capability?

作为后续,g ++有两个N2965 traits可用 std :: tr2 :: bases std :: tr2 :: direct_bases 。是否有Clang和/或Intel的任何扩展程序可以提供等效的功能?

As a follow-up, g++ has the two N2965 traits available as std::tr2::bases and std::tr2::direct_bases. Are there any extensions for Clang and/or Intel that can provide equivalent functionality?

推荐答案

据我所知,我们可以从 N3296:C ++ FCD注释状态版本6 ,其中包含以下评论:

As far as I can tell this was rejected we can see this from N3296: C++ FCD Comment Status Rev 6 which has the following comment:


纸张n2965在最后一张CD后基本上被拒绝,国家机构评论,所以我这次提交一个国家机构评论。

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

REJECTED

目前没有达成共识。

我们可以找到 Jonathan Wakely的评论它指向我们关于在gcc中实现 N2965 的gcc补丁电子邮件,他指出,没有 TR2了。

We can find a comment from Jonathan Wakely which points us to the gcc patches email about implementing N2965 into gcc and he notes that there is no TR2 anymore.

我没有看到任何后续建议

I don't see any follow-up proposals for this

这篇关于N2965 - std :: bases和std :: direct_bases的状态是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆