...
首页> 外文期刊>C - C++ Users Journal >Custom Containers & Iterators for STL-Friendly Code
【24h】

Custom Containers & Iterators for STL-Friendly Code

机译:用于STL友好代码的自定义容器和迭代器

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

摘要

Be it a spoken or software language, vocabulary and syntax alone only go so far. Knowledge of idioms and other subtleties are what separate the native from the tourist. One element of software language proficiency, then, is creating constructs that are more natural within the language realm. Developers frequently create functors to take advantage of C++'s STL algorithms; but what about the other side of the coin— creating custom containers? Client code could use these classes to fetch and store data, and manipulate their contents with STL algorithms.
机译:到目前为止,仅是口语或软件语言,词汇和语法。习语和其他微妙知识是使当地人与游客分离的原因。因此,软件语言能力的一个要素是创建在语言领域内更自然的构造。开发人员经常创建函子来利用C ++的STL算法。但是硬币的另一面呢-创建自定义容器呢?客户端代码可以使用这些类来获取和存储数据,并使用STL算法处理其内容。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号