The C++ Standard Library Extensions - Pete Becker

The C++ Standard Library Extensions

A Tutorial and Reference

(Autor)

Buch | Hardcover
624 Seiten
2006
Addison-Wesley Educational Publishers Inc (Verlag)
978-0-321-41299-7 (ISBN)
52,35 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
TR1 doubles the size of the C++ standard library, and introduces many facilities and even kinds of library components. TR1 has some classes, for example, where some nested types may or may not exist depending on the template arguments. This book covers the TR1 facilities. It is easier to understand than TR1 itself.
"TR1 roughly doubles the size of the C++ standard library, and it introduces many new facilities and even new kinds of library components. TR1 has some classes, for example, where some nested types may or may not exist depending on the template arguments. To programmers whose experience stops with the standard library, this is strange and unfamiliar. This book is complete (it covers all TR1 facilities), it is easier to understand than TR1 itself, and it is technically accurate."
--Matthew Austern,software engineer, Google

"TR1 will help make the C++ programmer more productive than ever. In this book, Pete Becker has written the ultimate reference guide to these components, what they are, how they work, and what they're used for. This book should be on the bookshelf of anyone who wants to use these standardized components to improve both their productivity as well as their coding quality."
--John Maddock, consultant and programmer

The current C++ standard library extends the core C++ language with common classes and functions. In recent years, to address limitations in that library, a number of components have been developed to extend the language even further. Compiled in a comprehensive technical report (TR1), the bulk of these extensions have been approved for the next revision of the C++ standard.

In this book, Pete Becker describes in detail each component in the TR1 library, explaining new facilities for utilities, containers, call wrappers, type traits, numerics, regular expressions, and C compatibility. He draws on his own experience implementing these components to illustrate their value, clarifying the specifications when necessary and providing complete, tested code examples.

Most chapters include exercises of various degrees of difficulty to help programmers get hands-on practice with the new components. Answers to the exercises, along with all code examples, are available on the Web. Appendixes comprise a summary of headers included in or extended by the TR1 library, as well as guidelines on how to use the components safely in multithreaded applications.

The C++ Standard Library Extensions is for any programmer who wants to get a jump on the revised standard. It also makes the perfect companion to The C++ Standard Library, by Nicolai Josuttis, both books being tutorials and references essential for using C++ more effectively.

Pete Becker is an independent consultant specializing in library design and implementation. He previously worked at Dinkumware, Ltd., where he wrote the technical documentation for, and completed the implementation of, all aspects of the TR1 library. A member of the ISO C++ Standards committee since its inception, Pete is now the project editor for C++0x.

Preface ixPart I: Utilities 1Chapter 1: Tuples 3Chapter 2: Smart Pointers 23Part II: Containers 79Chapter 3: Container Basics 81Chapter 4: The array Class Template 93Chapter 5: Unordered Associative Containers 113Part III: Call Wrappers 139Chapter 6: Call Wrapper Basics 141Chapter 7: The mem_fn Function Template 159Chapter 8: The reference_wrapper Class Template 167Chapter 9: The function Class Template 177Chapter 10: The bind Function Template 191Part IV: Type Traits 207Chapter 11: Type Traits 209Part V: Numerics 239 Chapter 12: Numeric Functions 241Chapter 13: Random Number Generators 305Part VI: Regular Expressions 345Chapter 14: The Header 347Chapter 15: Regular Expression Grammars 353Chapter 16: Regular Expression Objects 375Chapter 17: Searching 399Chapter 18: Search Results 417Chapter 19: Repetitive Searches 445Chapter 20: Formatting and Text Replacement 483Chapter 21: Customizing Regular Expressions 497Part VII: C Compatibility 505Chapter 22: C Compatibility 507Appendixes 535Appendix A: Headers 537Appendix B: Utility Headers 573Appendix C: Multithreading 579Bibliography 583Index 585

Erscheint lt. Verlag 3.8.2006
Verlagsort New Jersey
Sprache englisch
Maße 241 x 196 mm
Gewicht 1107 g
Themenwelt Informatik Programmiersprachen / -werkzeuge C / C++
ISBN-10 0-321-41299-0 / 0321412990
ISBN-13 978-0-321-41299-7 / 9780321412997
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Torsten T. Will

Buch | Hardcover (2024)
Rheinwerk (Verlag)
49,90
Technisch-wissenschaftliche Übungsaufgaben mit Lösungen

von Thomas Hoch; Gerd Küveler

Buch | Softcover (2023)
Springer Vieweg (Verlag)
37,99
das umfassende Handbuch

von Jürgen Wolf; René Krooß

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90