"Exceptional C Style"
40 New Engineering Puzzles, Programming Problems, And Solutions
On March 1, he received Mailing-List, and found that Herb Sutter had a new book to publish - "Exceptional C style", which has now reached the stage of final setup and production index, and the content has been completed, Of course there is a stage of review (REVIEW). Herb said on his webpage that probably can be published in 2004, but he seems to say that this book is temporarily not booked, he will notify it in his Mailing List.
This book continues to focus on generic programming, C standard libraries, and exception security (Class Design), Memory and Resource Management, optimized And Optimization and EffICIENCY, etc. Finally, in three cases study, analyze the code in real-in-law, do you have to make them true Exceptional C !
The following is his content entry:
// The following translation is just a personal feeling, welcome to criticize!
Generic Programming and The C Standard Library
Item 1: Uses and Abuses of Vector
Terms 1: Use the quality of the vector
I have seen the article related to his Guru Of Week, and Herb is very deep in the use of Vector, which is also involved in Scott Meyer's "Effective STL". I don't know what I have found in Herb? !
Item 2: The String Formatters of Manor Farm, Part 1: Sprintf
Terms 2: Format of String in Feudal Manor, Part 1: Sprintf
I don't know who Herb has to shoot again. Sprintf is less experience, not to say.
Item 3: The String Formatters of Manor Farm, Part 2: Standard (or Blindingly Elegant) Alternatives ALTERNATIVES
Terms 3: String of String in the feudal estate, Part 2: Standard (or an elegance of judgment)
Ibid, don't say it.
Item 4: Standard Library Member Functions
Terms 4: Members of Standard Library
I use it every day, is there anything wrong? I want to see how Herb said.
Item 5: Flavors of Genericity, Part 1: Covering The Basis [SiC]
Terms 5: Wizard of generics, Part 1: Applicable foundation
Item 6: Flavors of Genericity, Part 2: Generic ENOUGH?
Terms 6: Wizard of generics, second part: Is it a generic?
The above two are generic, don't know what HERB is going to talk? look forward to. . . .
Item 7: Why Not Specialize Function Templates? Terms 7: Why doesn't you stretch function template?
Item 8: Befriending Templates
Terms 8: Be kind to template
Recently I have seen "C Template", I want to see Herb's high level, urgent. . .
Item 9: Export Restrictions, Part 1: Fundamentals
Item 10: Export Restrictions, Part 2: Interactions, USAbility Issues, and Guidelines
Exception Safety Issues and Techniques
Item 11: Try And Catch ME
Item 12: EXCEPTION SAFETY: Is IT Worth IT?
Terms 12: Abnormal Security: Is it worth it?
Herb is a master, you have to listen to him!
Item 13: a Pragmatic Look at Exception Specifications
Class Design, Inheritance, And Polymorphism
Item 14: ORDER, ORDER!
Item 15: Uses and Abuses of Access Rights
Terms 15: Access Limitation is good
Yep. . . Washing. . . . . . . .
Item 16: (MOSTLY) PRIVATE
Item 17: Encapsulation
Item 18: Virtuality
Item 19: Enforcing Rules for Derived Classes
Memory and Resource Management
Item 20: Containers in Memory, Part 1: Levels of Memory Management
Item 21: Containers in Memory, Part 2: How big is it really?
Item 22: To New, Perchance to Throw, Part 1: The Many Faces Of New
Item 23: To New, Perchance to Throw, Part 2: Pragmatic Issues in Memory Management
In memory management, it seems that Herb has newly discovered!
Optimization and efficiency
Item 24: Constant Optimization?
Item 25: Inline Redux
Item 26: Data Formats and Efficiency, Part 1: When Compression is the name of the game
Item 27: Data Formats and Efficiency, Part 2: (Even Less) Bit-Twiddling
I have seen HERB published in "Inline Redux" on C / C User Journal, learning. . . . . .
Traps, Pitfalls, and Puzzlers
Item 28: Keywords That aren't (or, Comments by Another Name)
Item 29: Is IT Initialization?
Item 30: Double or nothing
Item 31: AMOK CODE
Item 32: Slight Typos? Graphic Language and other Curiosities
Item 33: Operators, Operators EverywhereStyle Case Studies
Item 34: INDEX TABLES
Item 35: Generic Callbacks
Item 36: Construction Unions
Item 37: Monoliths "Unstrung," Part 1: a Look at st: string
Item 38: Monoliths "unstrung," Part 2: refactoring std :: string
Item 39: Monoliths "Unstrung," Part 3: std :: string diminishing
Item 40: Monoliths "unstrung," Part 4: std :: string redux
The part I am looking forward to is it --Iitem34 to Item40, I hope Herb can complete the book quickly!
This book is Herb's online column summary and refining, and after expansion of heart! I hope to see it soon, I hope I can have a copy version!