Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Beyond the C++ Standard Library - Björn Karlsson

Beyond the C++ Standard Library

An Introduction to Boost

(Autor)

Buch | Softcover
432 Seiten
2005
Addison-Wesley Educational Publishers Inc (Verlag)
978-0-321-13354-0 (ISBN)
CHF 89,95 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Introduces the broad set of Boost libraries and teaches best practices for their use. This book briefly outlines 58 Boost libraries, and then presents comprehensive coverage of 12 libraries. Its topics range from smart pointers and conversions to containers and data structures, explaining exactly how using each library can improve your code.
Introducing the Boost libraries: the next breakthrough in C++ programming

Boost takes you far beyond the C++ Standard Library, making C++ programming more elegant, robust, and productive. Now, for the first time, a leading Boost expert systematically introduces the broad set of Boost libraries and teaches best practices for their use.

Writing for intermediate-to-advanced C++ developers, Björn Karlsson briefly outlines all 58 Boost libraries, and then presents comprehensive coverage of 12 libraries you're likely to find especially useful. Karlsson's topics range from smart pointers and conversions to containers and data structures, explaining exactly how using each library can improve your code. He offers detailed coverage of higher-order function objects that enable you to write code that is more concise, expressive, and readable. He even takes you "behind the scenes" with Boost, revealing tools and techniques for creating your own generic libraries.

Coverage includes



Smart pointers that provide automatic lifetime management of objects and simplify resource sharing
Consistent, best-practice solutions for performing type conversions and lexical conversions
Utility classes that make programming simpler and clearer
Flexible container libraries that solve common problems not covered by the C++ Standard Library
Powerful support for regular expressions with Boost.Regex
Function objects defined at the call site with Boost.Bind and Boost.Lambda
More flexible callbacks with Boost.Function
Managed signals and slots (a.k.a. the Observer pattern) with Boost.Signals

The Boost libraries are proving so useful that many of them are planned for inclusion in the next version of the C++ Standard Library. Get your head start now, with Beyond the C++ Standard Library.

Björn Karlsson works as a Senior Software Engineer at ReadSoft, where he spends most of his time designing and programming in C++. He has written a number of articles about C++ and the Boost libraries for publications such as C/C++ Users Journal, Overload, and the online journal The C++ Source. Karlsson is a member of the advisory board for The C++ Source and has been a member of the editorial board of C/C++ Users Journal, where he is also one of the columnists in the Experts Forum. He participates in the Boost newsgroups and is one of the Boost-Users moderators.

Foreword.

Preface.

Acknowledgments.

About the Author.

Organization of This Book.

Introduction to Boost.

    String and Text Processing

    Data Structures, Containers, Iterators, and Algorithms

    Function Objects and Higher-Order Programming

    Generic Programming and Template Metaprogramming

    Math and Numerics

    Input/Output

    Miscellaneous

I. GENERAL LIBRARIES.

Library 1: Smart_ptr.

    How Does the Smart_ptr Library Improve Your Programs?

    When Do We Need Smart Pointers?

    How Does Smart_ptr Fit with the Standard Library?

    scoped_ptr

    scoped_array

    shared_ptr

    shared_array

    intrusive_ptr

    weak_ptr

    Smart_ptr Summary

Library 2: Conversion.

    How Does the Conversion Library Improve Your Programs?

    polymorphic_cast

    polymorphic_downcast

    numeric_cast

    lexical_cast

    Conversion Summary

Library 3: Utility.

    How Does the Utility Library Improve Your Programs?

    BOOST_STATIC_ASSERT

    checked_delete

    noncopyable

    addressof

    enable_if

    Utility Summary

Library 4: Operators.

    How Does the Operators Library Improve Your Programs?

    Operators

    Usage

    Operators Summary

Library 5: Regex.

    How Does the Regex Library Improve Your Programs?

    How Does Regex Fit with the Standard Library?

    Regex

    Usage

    Regex Summary

II. CONTAINERS AND DATA STRUCTURES.

Library 6: Any.

    How Does the Any Library Improve Your Programs?

    How Does Any Fit with the Standard Library?

    Any

    Usage

    Any Summary

Library 7: Variant.

    How Does the Variant Library Improve Your Programs?

    How Does Variant Fit with the Standard Library?

    Variant

    Usage

    Variant Summary

Library 8: Tuple.

    How Does the Tuple Library Improve Your Programs?

    How Does the Tuple Library Fit with the Standard Library?

    Tuple

    Usage

    Tuple Summary

III. FUNCTION OBJECTS AND HIGHER-ORDER PROGRAMMING.

Library 9: Bind.

    How Does the Bind Library Improve Your Programs?

    How Does Bind Fit with the Standard Library?

    Bind

    Usage

    Bind Summary

Library 10: Lambda.

    How Does the Lambda Library Improve Your Programs?

    How Does Lambda Fit with the Standard Library?

    Lambda

    Usage

    Lambda Summary

Library 11: Function.

    How Does the Function Library Improve Your Programs?

    How Does Function Fit with the Standard Library?

    Function

    Usage

    Function Summary

Library 12: Signals.

    How Does the Signals Library Improve Your Programs?

    How Does Signals Fit with the Standard Library?

    Signals

    Usage

    Signals Summary

Bibliography.

Index.

 

Erscheint lt. Verlag 8.9.2005
Verlagsort New Jersey
Sprache englisch
Maße 189 x 234 mm
Gewicht 870 g
Themenwelt Informatik Programmiersprachen / -werkzeuge C / C++
ISBN-10 0-321-13354-4 / 0321133544
ISBN-13 978-0-321-13354-0 / 9780321133540
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich