Effective STL: 50 Specific Ways to Improve the Use of the Standard Template Library. Meyers, S. Addison Wesley, Boston, July, 2001. Published: Paperback
Paper abstract bibtex Written for the intermediate or advanced C++ programmer, renowned C++ expertScott Meyers provides essential techniques for getting more out of theStandard Template Library in _Effective STL_, a tutorial for doing more withthis powerful library.STL is a hugely powerful feature of today's C++, but one with a well-earnedreputation for complexity. The book is organised into 50 tips that exploredifferent areas of the STL. Besides providing a list of dos and don'ts, Meyerspresents a lot of background on what works and what doesn't with STL. Each tipis demonstrated with in-depth coding samples, many of which make use of two-colour printing to highlight the most important lines of code. (Advanceddevelopers will enjoy Meyers' in-depth explanations, while those who are in ahurry 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, theauthor also highlights recent additions to STL like _b-trees_, which areavailable as extensions from other vendors.) You'll learn the best ways toallocate, add, change and delete items inside containers, includingassociative containers like maps. You'll also learn to avoid common pitfallsfor writing code that is slow or just plain wrong.Other areas covered in _Effective STL_ include getting the most out of the100-plus STL algorithms that are bundled with this library. Meyers shows youhow to choose the correct algorithm for sorting, and other functions. (Evenadvanced developers will learn something here.) Sections on using functionobjects (called _functors_) round out the text. Meyers shows you when theseclasses make sense and the best ways to implement them. Besides specific tips,you'll get plenty of general programming advice. A useful appendix shows thelimitations of STL as implemented in Microsoft Visual C++ 6.0 and how toovercome them.Overall, _Effective STL_ is a really invaluable source of programmingexpertise on an essential aspect of today's C++ for anyone who is using–orplanning 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) programmingtechniques * 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 (includingreserving memory and calling legacy C/C++ code) * tips for associative containers (including comparing items, sorted vectorsand 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 algorithmsand understanding compiler diagnostic messages) * string locales * overcoming STL imitations in Microsoft Visual C++ 6.0
@book{meyers_effective_2001,
address = {Boston},
series = {Addison-{Wesley} {Professional} {Computing} {Series}},
title = {Effective {STL}: 50 {Specific} {Ways} to {Improve} the {Use} of the {Standard} {Template} {Library}},
isbn = {0-201-74962-9},
url = {http://www.amazon.com/exec/obidos/redirect?tag=citeulike07-20&path=ASIN/0201749629},
abstract = {Written for the intermediate or advanced C++ programmer, renowned C++ expertScott Meyers provides essential techniques for getting more out of theStandard Template Library in \_Effective STL\_, a tutorial for doing more withthis powerful library.STL is a hugely powerful feature of today's C++, but one with a well-earnedreputation for complexity. The book is organised into 50 tips that exploredifferent areas of the STL. Besides providing a list of dos and don'ts, Meyerspresents a lot of background on what works and what doesn't with STL. Each tipis demonstrated with in-depth coding samples, many of which make use of two-colour printing to highlight the most important lines of code. (Advanceddevelopers will enjoy Meyers' in-depth explanations, while those who are in ahurry 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, theauthor also highlights recent additions to STL like \_b-trees\_, which areavailable as extensions from other vendors.) You'll learn the best ways toallocate, add, change and delete items inside containers, includingassociative containers like maps. You'll also learn to avoid common pitfallsfor writing code that is slow or just plain wrong.Other areas covered in \_Effective STL\_ include getting the most out of the100-plus STL algorithms that are bundled with this library. Meyers shows youhow to choose the correct algorithm for sorting, and other functions. (Evenadvanced developers will learn something here.) Sections on using functionobjects (called \_functors\_) round out the text. Meyers shows you when theseclasses make sense and the best ways to implement them. Besides specific tips,you'll get plenty of general programming advice. A useful appendix shows thelimitations of STL as implemented in Microsoft Visual C++ 6.0 and how toovercome them.Overall, \_Effective STL\_ is a really invaluable source of programmingexpertise on an essential aspect of today's C++ for anyone who is using–orplanning 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) programmingtechniques * 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 (includingreserving memory and calling legacy C/C++ code) * tips for associative containers (including comparing items, sorted vectorsand 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 algorithmsand understanding compiler diagnostic messages) * string locales * overcoming STL imitations in Microsoft Visual C++ 6.0},
publisher = {Addison Wesley},
author = {Meyers, Scott},
month = jul,
year = {2001},
note = {Published: Paperback},
keywords = {cplusplus},
}
Downloads: 0
{"_id":"jqwLg7jfBZoNLTfeh","bibbaseid":"meyers-effectivestl50specificwaystoimprovetheuseofthestandardtemplatelibrary-2001","author_short":["Meyers, S."],"bibdata":{"bibtype":"book","type":"book","address":"Boston","series":"Addison-Wesley Professional Computing Series","title":"Effective STL: 50 Specific Ways to Improve the Use of the Standard Template Library","isbn":"0-201-74962-9","url":"http://www.amazon.com/exec/obidos/redirect?tag=citeulike07-20&path=ASIN/0201749629","abstract":"Written for the intermediate or advanced C++ programmer, renowned C++ expertScott Meyers provides essential techniques for getting more out of theStandard Template Library in _Effective STL_, a tutorial for doing more withthis powerful library.STL is a hugely powerful feature of today's C++, but one with a well-earnedreputation for complexity. The book is organised into 50 tips that exploredifferent areas of the STL. Besides providing a list of dos and don'ts, Meyerspresents a lot of background on what works and what doesn't with STL. Each tipis demonstrated with in-depth coding samples, many of which make use of two-colour printing to highlight the most important lines of code. (Advanceddevelopers will enjoy Meyers' in-depth explanations, while those who are in ahurry 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, theauthor also highlights recent additions to STL like _b-trees_, which areavailable as extensions from other vendors.) You'll learn the best ways toallocate, add, change and delete items inside containers, includingassociative containers like maps. You'll also learn to avoid common pitfallsfor writing code that is slow or just plain wrong.Other areas covered in _Effective STL_ include getting the most out of the100-plus STL algorithms that are bundled with this library. Meyers shows youhow to choose the correct algorithm for sorting, and other functions. (Evenadvanced developers will learn something here.) Sections on using functionobjects (called _functors_) round out the text. Meyers shows you when theseclasses make sense and the best ways to implement them. Besides specific tips,you'll get plenty of general programming advice. A useful appendix shows thelimitations of STL as implemented in Microsoft Visual C++ 6.0 and how toovercome them.Overall, _Effective STL_ is a really invaluable source of programmingexpertise on an essential aspect of today's C++ for anyone who is using–orplanning 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) programmingtechniques * 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 (includingreserving memory and calling legacy C/C++ code) * tips for associative containers (including comparing items, sorted vectorsand 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 algorithmsand understanding compiler diagnostic messages) * string locales * overcoming STL imitations in Microsoft Visual C++ 6.0","publisher":"Addison Wesley","author":[{"propositions":[],"lastnames":["Meyers"],"firstnames":["Scott"],"suffixes":[]}],"month":"July","year":"2001","note":"Published: Paperback","keywords":"cplusplus","bibtex":"@book{meyers_effective_2001,\n\taddress = {Boston},\n\tseries = {Addison-{Wesley} {Professional} {Computing} {Series}},\n\ttitle = {Effective {STL}: 50 {Specific} {Ways} to {Improve} the {Use} of the {Standard} {Template} {Library}},\n\tisbn = {0-201-74962-9},\n\turl = {http://www.amazon.com/exec/obidos/redirect?tag=citeulike07-20&path=ASIN/0201749629},\n\tabstract = {Written for the intermediate or advanced C++ programmer, renowned C++ expertScott Meyers provides essential techniques for getting more out of theStandard Template Library in \\_Effective STL\\_, a tutorial for doing more withthis powerful library.STL is a hugely powerful feature of today's C++, but one with a well-earnedreputation for complexity. The book is organised into 50 tips that exploredifferent areas of the STL. Besides providing a list of dos and don'ts, Meyerspresents a lot of background on what works and what doesn't with STL. Each tipis demonstrated with in-depth coding samples, many of which make use of two-colour printing to highlight the most important lines of code. (Advanceddevelopers will enjoy Meyers' in-depth explanations, while those who are in ahurry 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, theauthor also highlights recent additions to STL like \\_b-trees\\_, which areavailable as extensions from other vendors.) You'll learn the best ways toallocate, add, change and delete items inside containers, includingassociative containers like maps. You'll also learn to avoid common pitfallsfor writing code that is slow or just plain wrong.Other areas covered in \\_Effective STL\\_ include getting the most out of the100-plus STL algorithms that are bundled with this library. Meyers shows youhow to choose the correct algorithm for sorting, and other functions. (Evenadvanced developers will learn something here.) Sections on using functionobjects (called \\_functors\\_) round out the text. Meyers shows you when theseclasses make sense and the best ways to implement them. Besides specific tips,you'll get plenty of general programming advice. A useful appendix shows thelimitations of STL as implemented in Microsoft Visual C++ 6.0 and how toovercome them.Overall, \\_Effective STL\\_ is a really invaluable source of programmingexpertise on an essential aspect of today's C++ for anyone who is using–orplanning 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) programmingtechniques * 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 (includingreserving memory and calling legacy C/C++ code) * tips for associative containers (including comparing items, sorted vectorsand 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 algorithmsand understanding compiler diagnostic messages) * string locales * overcoming STL imitations in Microsoft Visual C++ 6.0},\n\tpublisher = {Addison Wesley},\n\tauthor = {Meyers, Scott},\n\tmonth = jul,\n\tyear = {2001},\n\tnote = {Published: Paperback},\n\tkeywords = {cplusplus},\n}\n\n","author_short":["Meyers, S."],"key":"meyers_effective_2001","id":"meyers_effective_2001","bibbaseid":"meyers-effectivestl50specificwaystoimprovetheuseofthestandardtemplatelibrary-2001","role":"author","urls":{"Paper":"http://www.amazon.com/exec/obidos/redirect?tag=citeulike07-20&path=ASIN/0201749629"},"keyword":["cplusplus"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"book","biburl":"https://bibbase.org/zotero/sede","dataSources":["pQYee5oovEhJF75n6"],"keywords":["cplusplus"],"search_terms":["effective","stl","specific","ways","improve","use","standard","template","library","meyers"],"title":"Effective STL: 50 Specific Ways to Improve the Use of the Standard Template Library","year":2001}