15%
Imperfect C++: Practical Solutions for Real-Life Programming

Imperfect C++: Practical Solutions for Real-Life Programming

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

C++ is one of the most important languages today, but, as with all languages, it is not perfect. Far from it. Hence the topic (and title) of this book: practical techniques for dealing with problems that arise in C++ programming not because the programmer is inexperienced or incompetent, but because this otherwise powerful language is itself deficient in some respect.This book reduces the frustration and indecision programmers experience everyday when using C++. Far from being stymied by a lack of expressiveness in the language, it is commonly the vast array of potential paradigms and techniques supported by C++ that causes the problems. Too many choices.Too much complexity. Where to begin? Where to go? The author, having himself experienced inherent C++ deficiencies for years, presents detailed solutions for dealing with the aggravating problems they cause programmers.

Table of Contents:
I. FUNDAMENTALS. 1. Enforcing Design: Constraints, Contracts, and Assertions.     Eggs and Ham.     Compile-Time Contracts: Constraints.     Runtime Contracts: Preconditions, Postconditions, and Invariants.     Assertions. 2. Object Lifetime.     The Object Life Cycle.     Controlling Your Clients.     MILs and Boon. 3. Resource Encapsulation.     A Taxonomy of Resource Encapsulation.     POD Types.     Wrapper Proxies.     RRID Types.     RAII Types.     RAII Coda. 4. Data Encapsulation and Value Types.     A Taxonomy of Data Encapsulation.     Value Types and Entity Types.     A Taxonomy of Value Types.     Open Types.     Encapsulated Types.     Value Types.     Arithmetic Value Types.     Value Types Coda.     Encapsulation Coda. 5. Object Access Models.     Vouched Lifetimes.     Copied for Caller.     Given to Caller.     Shared Objects. 6. Scoping Classes.     Value.     State.     APIs and Services.     Language Features. II. SURVIVING THE REAL WORLD. 7. ABI.     Sharing Code.     C ABI Requirements.     C++ ABI Requirements.     I Can C Clearly Now. 8. Objects Across Borders.     Mostly Portable vtables?     Portable vtables.     ABI/OAB Coda. 9. Dynamic Libraries.     Calling Functions Explicitly.     Indentity: Link Units and Link Space.     Lifetime.     Versioning.     Resource Ownership.     Dynamic Libraries: Coda. 10. Threading.      Synchronizing Integer Access.     Synchronizing Block Access: Critical Regions.     Atomic Integer Performance.     Multithreading Extensions.     Thread Specific Storage. 11. Statics.     Nonlocal Static Objects: Globals.     Singletons.     Function-Local Static Objects.     Static Members.     Statics Coda. 12. Optimization.     Inline Functions.     Return Value Optimization.     Empty Base Optimization.     Empty Derived Optimization.     Preventing Optimization. III. LANGUAGE CONCERNS. 13. Fundamental Types.     May I Have a byte?     Fixed-Sized Integer Types.     Large Integer Types.     Dangerous Types. 14. Arrays and Pointers.     Don't Repeat Yourself.     Arrays Decay into Pointers.     dimensionof().     Cannot Pass Arrays to Functions.     Arrays Are Always Passed by Address.     Arrays of Inherited Types.     Cannot Have Multidimensional Arrays. 15. Values.     NULL-The Keyword That Wasn't.     Down to Zero.     Bending the Truth.     Literals.     Constants. 16. Keywords.     interface.     temporary.     owner.     explicit(_cast).     unique.     final.     Unsupported Keywords. 17. Syntax.     Class Layout.     Conditional Expressions.     for.     Variable Notation. 18. Typedefs.     Pointer typedefs.     What's in a Definition?      Aliases.     True Typedefs.     The Good, the Bad, and the Ugly. IV. COGNIZANT CONVERSIONS. 19. Casts.     Implicit Conversion.     Casting in C++.     The Case for C Casts.     Casts on Steroids.     explicit_cast.     literal_cast.     union_cast.     comstl::interface_cast.     boost::polymorphic_cast.     Casts: Coda. 20. Shims.     Embracing Change and Enhancing Flexibility.     Attribute Shims.     Logical Shims.     Control Shims.     Conversion Shims.     Composite Shim Concepts.     Namespaces and Koenig Lookup.     Why Not Traits?     Structural Conformance.     Breaking Up the Monolith.     Shims: Coda. 21. Veneers.     Lightweight RAII.     Binding Data and Operations.     Rubbing Up to Concepts.     Veneers: Coda. 22. Bolt-ins.     Adding Functionality.     Skin Selection.     Nonvirtual Overriding.     Leveraging Scope.     Simulated Compile-Time Polymorphism: Reverse Bolt-ins.     Parameterized Polymorphic Packaging.     Bolt-ins: Coda. 23. Template Constructors.     Hidden Costs.     Dangling References.     Template Constructor Specialization.     Argument Proxies.     Argument Targeting.     Template Constructors: Coda. V. OPERATORS. 24. operator bool().     operator int() const.     operator void () const.     operator bool() const.     operator !()-not!.     operator boolean const () const.     operator int boolean::() const.     Operating in the Real World.     operator!. 25. Fast, Non-intrusive String Concatenation.     fast_string_concatenator<>.     Performance.     Working with Other String Classes.     Concatenation Seeding.     Pathological Bracing.     Standardization. 26. What's Your Address?     Can't Get the Real Address.     What Actions Are Carried Out during Conversion?     What Do We Return?     What's Your Address: Coda. 27. Subscript Operators.     Pointer Conversion versus Subscript Operators.     Handling Errors.     Return Value. 28. Increment Operators.     Missing Postfix Operators.     Efficiency. 29. Arithmetic Types.     Class Definition.     Default Construction.     Initialization (Value Construction).     Copy Construction.     Assignment.     Arithmetic Operators.     Comparison Operators.     Accessing the Value.     sinteger64.     Truncations, Promotions, and Tests.     Arithmetic Types: Coda. 30. Short-circuit! VI. EXTENDING C++. 31. Return Value Lifetime.     A Taxonomy of Return Value Lifetime Gotchas.     Why Return-by-Reference?     Solution 1-integer_to_string<>.     Solution 2-TSS.     Solution 3-Extending RVL.     Solution 4-Static Array Size Determination.     Solution 5-Conversion Shims.     Performance.     RVL: The Big Win for Garbage Collection.     Potential Applications.     Return Value Lifetime: Coda. 32. Memory.     A Taxonomy of Memory.     The Best of Both Worlds.     Allocators.     Memory: Coda. 33. Multidimensional Arrays.     Facilitating Subscript Syntax.     Sized at Run Time.     Sized at Compile Time.     Block Access.     Performance.     Multidimensional Arrays: Coda. 34. Functors and Ranges.     Syntactic Clutter.     for_all() ?     Local Functors.     Ranges.     Functors and Ranges: Coda. 35. Properties.     Compiler Extensions.     Implementation Options.     Field Properties.     Method Properties.     Static Properties.     Virtual Properties.     Property Uses.     Properties: Coda. Appendix A. Compilers and Libraries.     Compilers.     Libraries.     Other Resources. Appendix B. "Watch That Hubris!"     Operator Overload.     DRY Rued Yesterday.     Paranoid Programming.     To Insanity, and Beyond! Appendix C. Arturius. Appendix D. The CD. Epilogue. Bibliography. Index. 


Best Sellers


Product Details
  • ISBN-13: 9780321228772
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Edition: 1
  • Language: English
  • Returnable: Y
  • Spine Width: 29 mm
  • Weight: 960 gr
  • ISBN-10: 0321228774
  • Publisher Date: 04 Nov 2004
  • Binding: SA
  • Height: 236 mm
  • No of Pages: 624
  • Series Title: English
  • Sub Title: Practical Solutions for Real-Life Programming
  • Width: 189 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Imperfect C++: Practical Solutions for Real-Life Programming
Pearson Education (US) -
Imperfect C++: Practical Solutions for Real-Life Programming
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Imperfect C++: Practical Solutions for Real-Life Programming

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA