Exceptional C++ Style - Herb Sutter - Librairie Eyrolles
Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Exceptional C++ Style
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Exceptional C++ Style

Exceptional C++ Style

40 New Engineering Puzzles, Programming Problems, and Solutions

Herb Sutter

326 pages, parution le 20/09/2004

Résumé

Software "style" is about finding the perfect balance between overhead and functionality... elegance and maintainability... flexibility and excess. In Exceptional C++ Style, legendary C++ guru Herb Sutter presents 40 new programming scenarios designed to analyze not only the what but the why and help you find just the right balance in your software.

Organized around practical problems and solutions, this book offers new insight into crucial C++ details and interrelationships, and new strategies for today's key C++ programming techniques--including generic programming, STL, exception safety, and more. You'll find answers to questions like:

  • What can you learn about library design from the STL itself?
  • How do you avoid making templated code needlessly non-generic?
  • Why shouldn't you specialize function templates? What should you do instead?
  • How does exception safety go beyond try and catch statements?
  • Should you use exception specifications, or not?
  • When and how should you "leak" the private parts of a class?
  • How do you make classes safer for versioning?
  • What's the real memory cost of using standard containers?
  • How can using const really optimize your code?
  • How does writing inline affect performance?
  • When does code that looks wrong actually compile and run perfectly, and why should you care?
  • What's wrong with the design of std::string?

Exceptional C++ Style will help you design, architect, and code with style--and achieve greater robustness and performance in all your C++ software.

L'auteur - Herb Sutter

Herb Sutter est un expert reconnu du langage C++ qui donne régulièrement des conférences internationales sur ce langage. Auteur de trois livres plébiscités (Addison-Wesley), il est secrétaire du Comité de normalisation ANSI/ISO du langage C++. Il tient une chronique dans la revue C/C++ Users Journal. En tant qu'architecte logiciel chez Microsoft, il dirige la conception des extensions du langage C++ pour la plate-forme .NET.

Autres livres de Herb Sutter

Sommaire

  • Generic programming and the C++ standard library
    • Uses and Abuses of vector
    • The String Formatters of Manor Farm, Part 1: sprintf
    • The String Formatters of Manor Farm, Part 2: Standard (or Blindingly Elegant) Alternatives
    • Standard Library Member Functions
    • Flavors of Genericity, Part 1: Covering the Basis [sic]
    • Flavors of Genericity, Part 2: Generic Enough?
    • Why Not Specialize Function Templates?
    • Befriending Templates
    • Export Restrictions, Part 1: Fundamentals
    • Export Restrictions, Part 2: Interactions, Usability Issues, and Guidelines
  • Exception safety issues and techniques
    • Try and Catch Me
    • Exception Safety: Is It Worth It?
    • A Pragmatic Look at Exception Specifications
  • Class design, inheritance, and polymorphism
    • Order, Order!
    • Uses and Abuses of Access Rights
    • (Mostly) Private
    • Encapsulation
    • Virtuality
    • Enforcing Rules for Derived Classes
  • Memory and resource management
    • Containers in Memory, Part 1: Levels of Memory Management
    • Containers in Memory, Part 2: How Big Is It Really?
    • To new, Perchance to throw, Part 1: The Many Faces of new
    • To new, Perchance to throw, Part 2: Pragmatic Issues in Memory Management
  • Optimization and efficiency
    • Constant Optimization?
    • inline Redux
    • Data Formats and Efficiency, Part 1: When Compression Is the Name of the Game
    • Data Formats and Efficiency, Part 2: (Even Less) Bit-Twiddling
  • Traps, pitfalls, and puzzlers
    • Keywords That Aren't (or, Comments by Another Name)
    • Is It Initialization?
    • double or Nothing
    • Amok Code
    • Slight Typos? Graphic Language and Other Curiosities
    • Operators, Operators Everywhere
  • Style case studies
    • Index Tables
    • Generic Callbacks
    • Construction Unions
    • Monoliths "Unstrung," Part 1: A Look at std::string
    • Monoliths "Unstrung," Part 2: Refactoring std::string
    • Monoliths "Unstrung," Part 3: std::string Diminishing
    • Monoliths "Unstrung," Part 4: std::string Redux
Voir tout
Replier

Caractéristiques techniques

  PAPIER
Éditeur(s) Addison Wesley
Auteur(s) Herb Sutter
Parution 20/09/2004
Nb. de pages 326
Format 19 x 23
Couverture Broché
Poids 560g
Intérieur Noir et Blanc
EAN13 9780201760422
ISBN13 978-0-201-76042-2

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav@commande.eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription