Skip to content

Extended STL Collections and Iterators

Best in textbook rentals since 2012!

ISBN-10: 0321305507

ISBN-13: 9780321305503

Edition: 2007

Authors: Matthew Wilson

List price: $54.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

" Wilson' s menu of STL treatments will no doubt be good eating for generic programming adherents, ardent C programmers just now taking on STL and C++, Java programmers taking a second look at C++, and authors of libraries targeting multiple platforms and languages. Bon appetit!" --George Frazier, Cadence Design Systems, Inc. " A thorough treatment of the details and caveats of STL extension." --Pablo Aguilar, C++ Software Engineer " This book is not just about extending STL, it' s also about extending my thinking in C++." --Serge Krynine, C++ Software Engineer, RailCorp Australia " You might not agree 100% with everything Wilson has to say, but as a whole his book is the most valuable,…    
Customers also bought

Book details

List price: $54.99
Copyright year: 2007
Publisher: Addison Wesley Professional
Publication date: 6/19/2007
Binding: Mixed Media
Pages: 624
Size: 7.50" wide x 9.50" long x 1.25" tall
Weight: 2.090
Language: English

Bob Costanza is a world renowned name in ES. Matthew Wilson, in Costanza's group, is an active ES researcher with major worldwide connections. He is sub-contracted to a six-year research programme on ES in New Zealand by Wratten and Cullen. Wratten is a prolific, internationally-active ecological researcher specialising in biological control and other ecosystem services in agriculture. His sixth book was published in November 2004: Ecological Engineering for Pest Management (with G. Gurr of the University of Sydney and M. Altieri at the University of California, Berkeley). Cullen is an environmental economist working and publishing actively in the evaluation of ES in agriculture and the…    

Preface
Aims
Subject Matter
Structure
Supplementary Material
Acknowledgments
Parachutes: Coda
About the Author
Prologue
A Dichotomy of Character
Principles of UNIX Programming
Seven Signs of Successful C++ Software Libraries
Balancing the Signs: Satisfiction, Dialecticism, and Idioms Old and New
Example Libraries
Presentation Conventions
Fonts
. . . versus
End Iterator Precomputation
Nested Class Type Qualification
NULL
Template Parameter Names
Member and Namespace-Scope Type Names
Calling Conventions
Endpoint Iterators
Namespace for Standard C Names
Class Adaptors and Instance Adaptors
Header File Names
Foundations
The Standard Template Library
Core Concepts
Containers
Iterators
Algorithms
Function Objects
Allocators
Extended STL Concepts, or When STL Meets the Real World
Terminology
Collections
Iterators
Element Reference Categories
Introduction
C++ References
A Taxonomy of Element Reference Categories
Using Element Reference Categories
Defining operator
Element Reference Categories: Coda
The Curious Untemporary Reference
The DRY SPOT Principle
DRY SPOTs in C++
Not Quite DRY SPOTs in C++
Closed Namespaces
The Law of Leaky Abstractions
Contract Programming
Enforcement Types
Enforcement Mechanisms
Constraints
Type System Leverage
Static Assertions
Shims
Introduction
Primary Shims
Composite Shims
Duck and Goose, or the Whimsical Bases of Partial Structural Conformance
Conformance
Explicit Semantic Conformance
Intersecting Conformance
RAII
Mutability
Resource Source
Template Tools
Traits
Type Generators
True Typedefs
Inferred Interface Adaptation: Compile-Time Adaptation of Interface-Incomplete Types
Introduction
Adapting Interface-Incomplete Types
Adapting Immutable Collections
Inferred Interface Adaptation
Applying IIA to the Range
Henney's Hypothesis, or When Templates Attack!
The Independent Autonomies of equal() Friends
Beware Nonmember Friend Function Abuse
Collections and Their Iterators
Essential Components
Introduction
Auto_buffer
Filesystem_traits
File_path_buffer
Scoped_handle
dl_call()
Collections
Adapting the glob API
Introduction
Decomposition of the Longhand Version
Unixstl::glob_sequence
Decomposition of the Shorthand Version
Summary
Intermezzo: Constructor Clashes and Design That Is, If Not Bad, At Least Ill-Conceived for Seamless Evolution
Adapting the opendir/readdir API
Introduction
Decomposition of the Longhand Version
Unixstl::readdir_sequence
Alternate Implementations
Summary
Adapting the FindFirstFile/FindNextFile API
Introduction
Decomposition of Examples
Sequence Design
Winstl::basic_findfile_sequence
Winstl::basic_findfile_sequence_const_iterator
Winstl::basic_findfile_sequence_value_type
Shims
What, No Shims and Constructor Templates?
Summary
File System Enumeration with recls: Coda
Intermezzo: When the Efficiency/Usability Balance Is Tipped: Enum