下载 > 资源分类 >  开发技术 >  C++ > Addison-Wesley.Extended STL,Volume.1.Collections and Iterators.pdf

Addison-Wesley.Extended STL,Volume.1.Collections and Iterators.pdf

2007-08-23 上传大小:2.85MB
Wilson, Matthew.
Extended STL, Volume 1 : collections and iterators / Matthew Wilson.
p. cm.
Includes bibliographical references and index.
ISBN 0-321-30550-7 (pbk. : alk. paper)
1. C++ (Computer prog
ram language) 2. Standard template library. I. Title.
QA76.73.C153W55235 2007
005.13'3--dc22 2007016507
Copyright . 2007 Pearson Education, Inc.

This book describes one good way to use and extend the STL. It defines the following:
. The collection concept and how it differs from the container concept
. The element reference category concept, including why it’s important, how it’s defined, how
it’s detected, and the compromises it imposes on the design of STL extension collections and
iterators
. The phenomenon of external iterator invalidation and the implications of its surprising behavior
on the design of STL-compatible collections
. A mechanism for detecting features of arbitrary collections that may or may not provide mutating
operations
It explains several issues:
. Why a transforming iterator adaptor must return elements by value
. Why a filtering iterator must always be given a pair of iterators to manipulate
. What to do if the underlying collection changes during iteration
. Why you should proscribe meaningless syntax for your output iterator classes and how to do
so using the Dereference Proxy pattern

It demonstrates how to:
. Adapt elements-en-bloc APIs to the STL collection concept
. Adapt element-at-a-time APIs to the STL collection concept
. Share enumeration state in order to properly fulfill the requirements of the input iterator
concept
. Enumerate potentially infinite collections
. Specialize standard algorithms for specific iterator types to optimize performance
. Define a safe, platform-independent STL extension for the system environment, implemented
in terms of a global variable
. Adapt a collection whose iterator instances’ copyability is determined at runtime
. Provide access to a reversible collection that is not repeatable
. Write into a character buffer using an iterator
Extended STL addresses these issues and more. It also looks at how general-purpose, STLcompliant
libraries may be built without sacrificing robustness, flexibility, and, especially, performance.
Extended STL teaches you how to have your abstraction cake, with efficiency cream, and
eat it.
You should read this book if you want to:
. Learn specific principles and techniques for STL extension
. Learn more about the STL, by looking inside the implementation of STL extensions
. Learn general techniques for implementing wrappers over operating system APIs and
technology-specific libraries
. Learn how to write iterator adaptors and understand the reasons behind the restrictions on their
implementations and use
. Pick up techniques for optimizing the performance of general-purpose libraries
. Use proven software components for STL extension
...展开收缩
综合评分:4.5(19位用户评分)
开通VIP C币充值 立即下载

评论共有0条

评论资源

您不能发表评论,可能是以下原因:

登录后才能评论

待评论资源
 

热门专辑

开发技术热门标签

VIP会员动态

关闭
img

spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
为了良好体验,不建议使用迅雷下载
确认下载
img

Addison-Wesley.Extended STL,Volume.1.Collections and Iterators.pdf

会员到期时间: 剩余下载个数: 剩余C币:593 剩余积分:0
为了良好体验,不建议使用迅雷下载
VIP下载
您今日下载次数已达上限(为了良好下载体验及使用,每位用户24小时之内最多可下载20个资源)

积分不足!

资源所需积分/C币 当前拥有积分
您可以选择
开通VIP
4000万
程序员的必选
600万
绿色安全资源
现在开通
立省522元
或者
购买C币兑换积分 C币抽奖
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
(仅够下载10个资源)
为了良好体验,不建议使用迅雷下载
确认下载
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
为了良好体验,不建议使用迅雷下载
C币充值 开通VIP
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
您的积分不足,将扣除 10 C币
为了良好体验,不建议使用迅雷下载
确认下载
下载

兑换成功

你当前的下载分为234开始下载资源
你还不是VIP会员
开通VIP会员权限,免积分下载
立即开通

你下载资源过于频繁,请输入验证码

您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:webmaster@csdn.net!

举报

若举报审核通过,可奖励20下载分

  • 举报人:
  • 被举报人:
  • 举报的资源分:
  • *类型:
  • *详细原因: