首页> 外文期刊>Software >FC++: Functional tools for object-oriented tasks
【24h】

FC++: Functional tools for object-oriented tasks

机译:FC ++:用于面向对象任务的功能工具

获取原文
获取原文并翻译 | 示例
           

摘要

FC++ is a library for programming functionally in C++. Compared to other C++ functional programming libraries, FC++ is distinguished by its powerful type system which allows the manipulation of parametrically polymorphic functions (e.g., passing them as arguments to other functions and returning them as results). In this paper, we show how FC++ can be used in common object-oriented programming tasks. We demonstrate FC++ implementations of several common design patterns (Adapter, Builder, Command, and more). Compared to conventional C++ implementations of these patterns, our implementations are either simpler (in that fewer classes/dependencies are needed), more efficient, or more type-safe (thanks to parametric polymorphism and type inference).
机译:FC ++是用于在C ++中进行功能编程的库。与其他C ++功能编程库相比,FC ++以其强大的类型系统而著称,该系统允许对参数多态函数进行操作(例如,将其作为参数传递给其他函数并作为结果返回)。在本文中,我们展示了如何在常见的面向对象的编程任务中使用FC ++。我们演示了几种常见设计模式(适配器,构建器,命令等)的FC ++实现。与这些模式的常规C ++实现相比,我们的实现更简单(因为需要更少的类/依赖关系),效率更高或类型安全(由于参数多态性和类型推断)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号