首页> 外文会议>Perspectives of System Informatics >Exploring Template Template Parameters
【24h】

Exploring Template Template Parameters

机译:探索模板模板参数

获取原文
获取外文期刊封面目录资料

摘要

The generic programming paradigm has exerted great influence on the recent development of C++, e.g., large parts of its standard library [2] are based on generic containers and algorithms. While templates, the language feature of C++ that supports generic programming, have become widely used and well understood in the last years, one aspect of templates has been mostly ignored: template template parameters ([2], 14.1). In the first part, this article will present an in depth introduction of the new technique. The second part introduces a class for arbitrary precision arithmetic, whose design is based on template template parameters. Finally, we end with a discussion of the benefits and drawbacks of this new programming technique and how it applies to generic languages other than C++.
机译:通用编程范例对C ++的最新发展产生了很大的影响,例如,其标准库的大部分[2]基于通用容器和算法。尽管模板是支持通用编程的C ++语言功能,但在最近几年中已被广泛使用并得到了很好的理解,但是模板的一个方面却被大多数人忽略了:模板模板参数([2],14.1)。在第一部分中,本文将对新技术进行深入介绍。第二部分介绍了一个用于任意精度算术的类,该类的设计基于模板模板参数。最后,我们最后讨论了这种新编程技术的优缺点,以及它如何适用于C ++以外的通用语言。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号