The C++ Standard Library Extensions: A Tutorial and Reference

Pete Becker

  • 出版商: Addison Wesley
  • 出版日期: 2006-07-31
  • 定價: $2,280
  • 售價: 6.0$1,368
  • 語言: 英文
  • 頁數: 624
  • 裝訂: Hardcover
  • ISBN: 0321412990
  • ISBN-13: 9780321412997
  • 相關分類: C++ 程式語言
  • 立即出貨

買這商品的人也買了...

相關主題

商品描述

Description

"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.

商品描述(中文翻譯)

《C++標準庫擴展》

描述:
TR1大致上將C++標準庫的大小增加了一倍,並引入了許多新的功能和新類型的庫組件。TR1中有一些類別,例如,某些嵌套類型的存在與否取決於模板引數。對於那些只熟悉標準庫的程序員來說,這是陌生和不熟悉的。本書是完整的(涵蓋了所有TR1功能),比TR1本身更容易理解,並且技術上是準確的。- Matthew Austern,Google軟體工程師

TR1將使C++程序員比以往更具生產力。在本書中,Pete Becker編寫了這些組件的最終參考指南,包括它們是什麼,它們如何工作以及它們的用途。這本書應該放在任何想要使用這些標準化組件來提高生產力和編碼質量的人的書架上。- John Maddock,顧問和程序員

當前的C++標準庫通過常見的類和函數擴展了核心C++語言。近年來,為了解決該庫的限制,開發了一些組件來進一步擴展語言。這些擴展的大部分已經在一份全面的技術報告(TR1)中獲得批准,並將納入下一個C++標準的修訂中。

在本書中,Pete Becker詳細描述了TR1庫中的每個組件,解釋了用於實用工具、容器、調用包裝器、類型特性、數值、正則表達式和C兼容性的新功能。他根據自己實現這些組件的經驗來說明它們的價值,必要時澄清規範並提供完整的、經過測試的代碼示例。

大多數章節包含各種難度的練習,以幫助程序員實踐這些新組件。練習的答案以及所有代碼示例都可以在網上找到。附錄包括TR1庫中包含或擴展的標頭摘要,以及如何在多線程應用程序中安全使用這些組件的指南。

《C++標準庫擴展》適用於任何想要提前了解修訂標準的程序員。它也是Nicolai Josuttis的《C++標準庫》的完美伴侶,這兩本書都是使用C++更有效的教程和參考資料。