Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library

Valutazione media 4,2
( su 458 valutazioni fornite da Goodreads )
 
9780201749625: Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library

“This is Effective C++ volume three – it’s really that good.”
– Herb Sutter, independent consultant and secretary of the ISO/ANSI C++ standards committee
“There are very few books which all C++ programmers must have. Add Effective STL to that list.”
– Thomas Becker, Senior Software Engineer, Zephyr Associates, Inc., and columnist, C/C++ Users Journal

C++’s Standard Template Library is revolutionary, but learning to use it well has always been a challenge. Until now. In this book, best-selling author Scott Meyers ( Effective C++ , and More Effective C++ ) reveals the critical rules of thumb employed by the experts – the things they almost always do or almost always avoid doing – to get the most out of the library.

Other books describe what’s in the STL. Effective STL shows you how to use it. Each of the book’s 50 guidelines is backed by Meyers’ legendary analysis and incisive examples, so you’ll learn not only what to do, but also when to do it – and why.

Highlights of Effective STL include:

  • Advice on choosing among standard STL containers (like vector and list), nonstandard STL containers (like hash_set and hash_map), and non-STL containers (like bitset).
  • Techniques to maximize the efficiency of the STL and the programs that use it.
  • Insights into the behavior of iterators, function objects, and allocators, including things you should not do.
  • Guidance for the proper use of algorithms and member functions whose names are the same (e.g., find), but whose actions differ in subtle (but important) ways.
  • Discussions of potential portability problems, including straightforward ways to avoid them.

Like Meyers’ previous books, Effective STL is filled with proven wisdom that comes only from experience. Its clear, concise, penetrating style makes it an essential resource for every STL programmer.

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

Review:

Written for the intermediate or advanced C++ programmer, renowned C++ expert Scott Meyers provides essential techniques for getting more out of the Standard Template Library in Effective STL, a tutorial for doing more with this powerful library.

STL is a hugely powerful feature of today's C++, but one with a well-earned reputation for complexity. The book is organized into 50 tips that explore different areas of the STL. Besides providing a list of dos and don'ts, Meyers presents a lot of background on what works and what doesn't with STL. Each tip is demonstrated with in-depth coding samples, many of which make use of two-color printing to highlight the most important lines of code. (Advanced developers will enjoy Meyers's in-depth explanations, while those who are in a hurry can skip ahead to the recommended tip itself.)

A good part of this book involves using containers, like vectors and maps, which are built into STL. (Besides the standard built-in containers, the author also highlights recent additions to STL like B-trees, which are available as extensions from other vendors.) You'll learn the best ways to allocate, add, change, and delete items inside containers, including associative containers like maps. You'll also learn to avoid common pitfalls, which can result in writing code that is slow or just plain wrong.

Other areas covered in Effective STL cover getting the most out of the 100-plus STL algorithms that are bundled with this library. Meyers shows you how to choose the correct algorithm for sorting and other functions. (Even advanced developers will learn something here.) Sections on using function objects (called functors) round out the text. Meyers shows you when these classes make sense and the best ways to implement them. Besides specific tips, you'll get plenty of general programming advice. A useful appendix shows the limitations of STL as implemented in Microsoft Visual C++ 6.0 and how to overcome them.

Overall, Effective STL is a really invaluable source of programming expertise on an essential aspect of today's C++ for anyone who is using--or planning to use--STL in real production code. It is quite simply a must-have. --Richard Dragan

Topics covered:

  • Introduction to advanced Standard Template Library (STL) programming techniques
  • 50 tips and best practices for STL illustrated with sample tutorial code
  • Choosing containers
  • Efficient copying of elements inside containers
  • Removing, erasing, and cleaning up items from containers
  • Using custom allocators with STL containers
  • Thread safety with STL
  • Tips for programming with the STL vector and string classes (including reserving memory and calling legacy C/C++ code)
  • Tips for associative containers (including comparing items, sorted vectors, and non-standard enhancements to STL)
  • Tips for selecting and using STL iterator classes
  • STL algorithms (including sorting, removing, and comparing items)
  • Using functors with STL
  • General tips for STL programming (including advice for choosing algorithms and understanding compiler diagnostic messages)
  • String locales
  • Overcoming STL imitations in Microsoft Visual C++ 6.0

About the Author:

Scott Meyers is one of the world's foremost authorities on C++, providing training and consulting services to clients worldwide. He is the author of the best-selling Effective C++ series of books (Effective C++, More Effective C++, and Effective STL) and of the innovative Effective C++ CD. He is consulting editor for Addison Wesley's Effective Software Development Series and serves on the Advisory Board for The C++ Source (http://www.artima.com/cppsource). He holds a Ph.D. in Computer Science from Brown University. His web site is http://www.aristeia.com.



Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

I migliori risultati di ricerca su AbeBooks

Edizione Internazionale
Edizione Internazionale

1.

Meyers
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi Softcover Quantità: 7
Edizione Internazionale
Da
Unique Bookseller
(Delhi, India)
Valutazione libreria
[?]

Descrizione libro Softcover. Condizione libro: Brand New. .. Black & White or color International Edition. ISBN and front cover may be different, but contents are same as the US edition. Book printed in English. Territorial restrictions may be printed on the book. GET IT FAST within 3-5 business days by DHL/FedEx/Aramex and tracking number will be uploaded into your order page within 24-48 hours. Kindly provide day time phone number in order to ensure smooth delivery. No shipping to PO BOX, APO, FPO addresses. 100% Customer satisfaction guaranteed!. . Codice libro della libreria UBS03670

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 19,94
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: India a: Italia
Destinazione, tempi e costi
Edizione Internazionale
Edizione Internazionale

2.

Scott Meyers
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi Softcover Prima edizione Quantità: > 20
Edizione Internazionale
Da
LowPriceBookDeals
(Wilmington, DE, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Softcover. Condizione libro: New. 1st edition. Brand NEW, Paperback International Edition. Black & White or color, Cover and ISBN may be different but similar contents as US editions. Standard delivery takes 5-9 business days by USPS with tracking number. Choose expedited shipping for superfast delivery 2-4 business days by DHL/FEDEX. We also ship to PO Box addresses but by Standard delivery. International Edition Textbooks may bear a label -Not for sale in the U.S. or Canada- etc. printed only to discourage U.S. students from obtaining an affordable copy. Legal to use despite any disclaimer on cover as per US court. No access code or CD included unless specified. In some instances, the international textbooks may have different exercises at the end of the chapters. Printed in English. 100% Customer satisfaction guaranteed! Please feel free to contact us for any queries. Codice libro della libreria LPBD31424826

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 15,95
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 4,93
Da: U.S.A. a: Italia
Destinazione, tempi e costi
Edizione Internazionale
Edizione Internazionale

3.

Meyers
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi Paperback Quantità: 5
Edizione Internazionale
Da
PRIORITY BOOKS
(springfield, VA, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Paperback. Condizione libro: New. Softcover Book, New Condition, Fast Shipping. Ready in Stock. 1st Edition. [Please Read Carefully Before Buying], This Is An International Edition. Printed In Black and White. , Book Cover And ISBN No May Be Different From US Edition. Restricted Sales Disclaimer Wordings Not For Sales In USA And Canada May Be Printed On The Cover Of The Book. Standard Shipping 7-14 Business Days. Expedited Shiping 4-8 Business Days. ***WE DO NOT ENTERTAIN BULK ORDERS.*** The Books May Be Ship From Overseas For Inventory Purpose. Codice libro della libreria 398048

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 15,97
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 7,65
Da: U.S.A. a: Italia
Destinazione, tempi e costi
Edizione Internazionale
Edizione Internazionale

4.

Meyers
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi Paperback Prima edizione Quantità: 2
Edizione Internazionale
Da
ZerichSpace
(antioch, CA, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Paperback. Condizione libro: New. New condition. Softcover book, 1st Edition. (Read Description Before Buying), This is an international Edition. Black and White Book. ISBN or covers May Be Different From US Edition. Book may have Restricted Sales Disclaimer Wordings printed on cover. Books May Be Shipped From Overseas as per stock status. Codice libro della libreria 757580

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 15,98
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 7,66
Da: U.S.A. a: Italia
Destinazione, tempi e costi
Edizione Internazionale
Edizione Internazionale

5.

Meyers
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi Paperback Quantità: 1
Edizione Internazionale
Da
Nick Book House
(fresno, CA, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Paperback. Condizione libro: New. New, Softcover International Edition, Printed in Black and White, Different ISBN, Same Content As US edition, Book Cover may be Different, in English Language. Codice libro della libreria 14786

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 16,01
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 8,50
Da: U.S.A. a: Italia
Destinazione, tempi e costi

6.

Scott Meyers
Editore: Pearson Education (US), United States (2007)
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi Paperback Quantità: 10
Da
The Book Depository US
(London, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Pearson Education (US), United States, 2007. Paperback. Condizione libro: New. Language: English . Brand New Book. This is Effective C++ volume three - it s really that good. - Herb Sutter, independent consultant and secretary of the ISO/ANSI C++ standards committee There are very few books which all C++ programmers must have. Add Effective STL to that list. - Thomas Becker, Senior Software Engineer, Zephyr Associates, Inc., and columnist, C/C++ Users Journal C++ s Standard Template Library is revolutionary, but learning to use it well has always been a challenge. Until now. In this book, best-selling author Scott Meyers (Effective C++, and More Effective C++) reveals the critical rules of thumb employed by the experts - the things they almost always do or almost always avoid doing - to get the most out of the library. Other books describe what s in the STL. Effective STL shows you how to use it. Each of the book s 50 guidelines is backed by Meyers legendary analysis and incisive examples, so you ll learn not only what to do, but also when to do it - and why. Highlights of Effective STL include: * Advice on choosing among standard STL containers (like vector and list), nonstandard STL containers (like hash set and hash map), and non-STL containers (like bitset). * Techniques to maximize the efficiency of the STL and the programs that use it. * Insights into the behavior of iterators, function objects, and allocators, including things you should not do. * Guidance for the proper use of algorithms and member functions whose names are the same (e.g., find), but whose actions differ in subtle (but important) ways. * Discussions of potential portability problems, including straightforward ways to avoid them. Like Meyers previous books, Effective STL is filled with proven wisdom that comes only from experience. Its clear, concise, penetrating style makes it an essential resource for every STL programmer. Codice libro della libreria AAK9780201749625

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 31,74
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Regno Unito a: Italia
Destinazione, tempi e costi

7.

Scott Meyers
Editore: Pearson Education (US), United States (2007)
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi Paperback Quantità: 10
Da
The Book Depository
(London, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Pearson Education (US), United States, 2007. Paperback. Condizione libro: New. Language: English . Brand New Book. This is Effective C++ volume three - it s really that good. - Herb Sutter, independent consultant and secretary of the ISO/ANSI C++ standards committee There are very few books which all C++ programmers must have. Add Effective STL to that list. - Thomas Becker, Senior Software Engineer, Zephyr Associates, Inc., and columnist, C/C++ Users Journal C++ s Standard Template Library is revolutionary, but learning to use it well has always been a challenge. Until now. In this book, best-selling author Scott Meyers (Effective C++, and More Effective C++) reveals the critical rules of thumb employed by the experts - the things they almost always do or almost always avoid doing - to get the most out of the library. Other books describe what s in the STL. Effective STL shows you how to use it. Each of the book s 50 guidelines is backed by Meyers legendary analysis and incisive examples, so you ll learn not only what to do, but also when to do it - and why. Highlights of Effective STL include: * Advice on choosing among standard STL containers (like vector and list), nonstandard STL containers (like hash set and hash map), and non-STL containers (like bitset).* Techniques to maximize the efficiency of the STL and the programs that use it. * Insights into the behavior of iterators, function objects, and allocators, including things you should not do. * Guidance for the proper use of algorithms and member functions whose names are the same (e.g., find), but whose actions differ in subtle (but important) ways. * Discussions of potential portability problems, including straightforward ways to avoid them. Like Meyers previous books, Effective STL is filled with proven wisdom that comes only from experience. Its clear, concise, penetrating style makes it an essential resource for every STL programmer. Codice libro della libreria AAK9780201749625

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 31,74
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Regno Unito a: Italia
Destinazione, tempi e costi
Edizione Internazionale
Edizione Internazionale

8.

Scott Meyers
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi Softcover Quantità: 3
Edizione Internazionale
Da
GREAT BOOKS DEAL
(TALLAHASSEE, FL, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Softcover. Condizione libro: New. Brand NEW, Paperback International Edition. Black & White or color, Cover and ISBN may be different but similar contents as US editions. Standard delivery takes 3-6 business days by USPS/UPS/Fedex with tracking number. Choose expedited shipping for superfast delivery 2-4 business days. We also ship to PO Box addresses. International Edition Textbooks may bear a label ?Not for sale in the U.S. or Canada? etc. printed only to discourage U.S. students from obtaining an affordable copy. Legal to use despite any disclaimer on cover as per US court. No access code or CD included unless specified. In some instances, the international textbooks may have different exercises at the end of the chapters. Printed in English. 100% Customer satisfaction guaranteed! Please feel free to contact us for any queries. Codice libro della libreria INTFB-372

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 9,54
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 31,90
Da: U.S.A. a: Italia
Destinazione, tempi e costi

9.

Scott Meyers
Editore: Pearson Education 2001-06-06, Boston (2001)
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi paperback Quantità: 1
Da
Blackwell's
(Oxford, OX, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Pearson Education 2001-06-06, Boston, 2001. paperback. Condizione libro: New. Codice libro della libreria 9780201749625

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 40,59
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 4,38
Da: Regno Unito a: Italia
Destinazione, tempi e costi

10.

Scott Meyers
Editore: Pearson Education (US), United States (2007)
ISBN 10: 0201749629 ISBN 13: 9780201749625
Nuovi Paperback Quantità: 10
Da
Book Depository hard to find
(London, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Pearson Education (US), United States, 2007. Paperback. Condizione libro: New. Language: English . This book usually ship within 10-15 business days and we will endeavor to dispatch orders quicker than this where possible. Brand New Book. This is Effective C++ volume three - it s really that good. - Herb Sutter, independent consultant and secretary of the ISO/ANSI C++ standards committee There are very few books which all C++ programmers must have. Add Effective STL to that list. - Thomas Becker, Senior Software Engineer, Zephyr Associates, Inc., and columnist, C/C++ Users Journal C++ s Standard Template Library is revolutionary, but learning to use it well has always been a challenge. Until now. In this book, best-selling author Scott Meyers (Effective C++, and More Effective C++) reveals the critical rules of thumb employed by the experts - the things they almost always do or almost always avoid doing - to get the most out of the library. Other books describe what s in the STL. Effective STL shows you how to use it. Each of the book s 50 guidelines is backed by Meyers legendary analysis and incisive examples, so you ll learn not only what to do, but also when to do it - and why. Highlights of Effective STL include: * Advice on choosing among standard STL containers (like vector and list), nonstandard STL containers (like hash set and hash map), and non-STL containers (like bitset). * Techniques to maximize the efficiency of the STL and the programs that use it. * Insights into the behavior of iterators, function objects, and allocators, including things you should not do. * Guidance for the proper use of algorithms and member functions whose names are the same (e.g., find), but whose actions differ in subtle (but important) ways. * Discussions of potential portability problems, including straightforward ways to avoid them. Like Meyers previous books, Effective STL is filled with proven wisdom that comes only from experience. Its clear, concise, penetrating style makes it an essential resource for every STL programmer. Codice libro della libreria BZV9780201749625

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 50,16
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Vedi altre copie di questo libro

Vedi tutti i risultati per questo libro