资源描述:
《Addison_Wesley_-_Modern_C _Design_Generic_Programming_and_Design_Patterns_Applied_Ebook-fly.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ModernC++Design:GenericProgrammingandDesignPatternsAppliedByAndreiAlexandrescuPublisher:AddisonWesleyPubDate:February01,2001ISBN:0-201-70431-5TableofPages:352ContentsModernC++Designisanimportantbook.Fundamentally,itdemonstrates'genericpatterns'or'patterntemplates'asapowerfulnewwayofcreatin
2、gextensibledesignsinC++--anewwaytocombinetemplatesandpatternsthatyoumayneverhavedreamtwaspossible,butis.IfyourworkinvolvesC++designandcoding,youshouldreadthisbook.Highlyrecommended.-HerbSutterWhat'slefttosayaboutC++thathasn'talreadybeensaid?Plenty,itturnsout.-FromtheForewordbyJohnVlissides
3、InModernC++Design,AndreiAlexandrescuopensnewvistasforC++programmers.Displayingextraordinarycreativityandprogrammingvirtuosity,Alexandrescuoffersacutting-edgeapproachtodesignthatunitesdesignpatterns,genericprogramming,andC++,enablingprogrammerstoachieveexpressive,flexible,andhighlyreusablec
4、ode.Thisbookintroducestheconceptofgenericcomponents-reusabledesigntemplatesthatproduceboilerplatecodeforcompilerconsumption-allwithinC++.Genericcomponentsenableaneasierandmoreseamlesstransitionfromdesigntoapplicationcode,generatecodethatbetterexpressestheoriginaldesignintention,andsupportt
5、hereuseofdesignstructureswithminimalrecoding.TheauthordescribesthespecificC++techniquesandfeaturesthatareusedinbuildinggenericcomponentsandgoesontoimplementindustrialstrengthgenericcomponentsforreal-worldapplications.RecurringissuesthatC++developersfaceintheirday-to-dayactivityarediscussed
6、indepthandimplementedinagenericway.Theseinclude:TE•Policy-baseddesignforflexibilityA•Partialtemplatespecialization•Typelists-powerfultypemanipulationstructuresM•PatternssuchasVisitor,Singleton,Command,andFactories•Multi-methodenginesFLForeachgenericcomponent,thebookpresentsthefundamentalpr
7、oblemsanddesignoptions,andfinallyimplementsagenericsolution.YInaddition,anaccompanyingWebsite,http://www.awl.com/cseng/titles/0-201-70431-5,makesthecodeimplementationsavailableforthegenericcomponentsinthebookandprovidesafree,downloadableC++library,calledLoki,c